mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
catch up with API change
This commit is contained in:
parent
dba2a915ad
commit
90f57ef2e5
1 changed files with 7 additions and 2 deletions
|
@ -103,9 +103,14 @@ static void
|
||||||
curses_util_userError( XW_UtilCtxt* uc, UtilErrID id )
|
curses_util_userError( XW_UtilCtxt* uc, UtilErrID id )
|
||||||
{
|
{
|
||||||
CursesAppGlobals* globals = (CursesAppGlobals*)uc->closure;
|
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 */
|
} /* curses_util_userError */
|
||||||
|
|
||||||
static XP_Bool
|
static XP_Bool
|
||||||
|
|
Loading…
Reference in a new issue