mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
Fix crash on ARM: don't compare dummy strings.
This commit is contained in:
parent
e22a131687
commit
3974ac4639
1 changed files with 1 additions and 4 deletions
|
@ -137,10 +137,7 @@ savedGamesHandleEvent( EventPtr event )
|
|||
case XW_SAVEDGAMES_USE_BUTTON: /* write the new name to the selected
|
||||
record */
|
||||
newName = FldGetTextPtr( state->nameField );
|
||||
if ( !!newName &&
|
||||
(*newName != '\0') &&
|
||||
0 != StrCompare(newName,
|
||||
state->stringPtrs[state->displayGameIndex])){
|
||||
if ( !!newName && (*newName != '\0') ) {
|
||||
XP_U16 len = FldGetTextLength( state->nameField );
|
||||
writeNameToGameRecord( globals, state->displayGameIndex,
|
||||
newName, len );
|
||||
|
|
Loading…
Add table
Reference in a new issue