mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-06 05:24:46 +01:00
when a game's opened from an Android db, there's no row data to delete
This commit is contained in:
parent
4f3d620cd6
commit
9fb5f49595
1 changed files with 3 additions and 1 deletions
|
@ -508,7 +508,9 @@ freeGameGlobals( gpointer data )
|
|||
LOG_FUNC();
|
||||
GtkGameGlobals* globals = (GtkGameGlobals*)data;
|
||||
GtkAppGlobals* apg = globals->apg;
|
||||
recordClosed( apg, globals );
|
||||
if ( !!apg ) {
|
||||
recordClosed( apg, globals );
|
||||
}
|
||||
freeGlobals( globals );
|
||||
return 0; /* don't run again */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue