mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
print wordlist name as part of error message
This commit is contained in:
parent
ff3af7f095
commit
ad2b925a60
1 changed files with 2 additions and 2 deletions
|
@ -1708,8 +1708,8 @@ gtk_util_warnIllegalWord( XW_UtilCtxt* uc, BadWordInfo* bwi, XP_U16 player,
|
||||||
result = XP_TRUE;
|
result = XP_TRUE;
|
||||||
} else {
|
} else {
|
||||||
XP_ASSERT( bwi->nWords == 1 );
|
XP_ASSERT( bwi->nWords == 1 );
|
||||||
sprintf( buf, "Word \"%s\" not in the current dictionary. "
|
sprintf( buf, "Word \"%s\" not in the current dictionary (%s). "
|
||||||
"Use it anyway?", bwi->words[0] );
|
"Use it anyway?", bwi->words[0], bwi->dictName );
|
||||||
result = gtkask( globals->window, buf, GTK_BUTTONS_YES_NO );
|
result = gtkask( globals->window, buf, GTK_BUTTONS_YES_NO );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue