diff --git a/linux/cursesmain.c b/linux/cursesmain.c index 3d8b52904..48b11c4b3 100644 --- a/linux/cursesmain.c +++ b/linux/cursesmain.c @@ -103,9 +103,14 @@ static void curses_util_userError( XW_UtilCtxt* uc, UtilErrID id ) { CursesAppGlobals* globals = (CursesAppGlobals*)uc->closure; - XP_UCHAR* message = linux_getErrString( id ); + XP_Bool silent; + XP_UCHAR* message = linux_getErrString( id, &silent ); - cursesUserError( globals, message ); + if ( silent ) { + XP_LOGF( "silent userError: %s", message ); + } else { + cursesUserError( globals, message ); + } } /* curses_util_userError */ static XP_Bool