mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
always log error message
This commit is contained in:
parent
ab64197ac4
commit
49689ab04c
1 changed files with 2 additions and 5 deletions
|
@ -2042,11 +2042,8 @@ gtk_util_userError( XW_UtilCtxt* uc, UtilErrID id )
|
|||
XP_Bool silent;
|
||||
const XP_UCHAR* message = linux_getErrString( id, &silent );
|
||||
|
||||
XP_LOGF( "%s(%d)", __func__, id );
|
||||
|
||||
if ( silent ) {
|
||||
XP_LOGF( "%s", message );
|
||||
} else {
|
||||
XP_LOGF( "%s: %s", __func__, message );
|
||||
if ( !silent ) {
|
||||
gtkUserError( globals, message );
|
||||
}
|
||||
} /* gtk_util_userError */
|
||||
|
|
Loading…
Reference in a new issue