mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
one more assert
This commit is contained in:
parent
b7981cc8da
commit
80167fb2d9
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ writeToDB( XWStreamCtxt* stream, void* closure )
|
|||
|
||||
if ( newGame ) { /* new row; need to insert blob first */
|
||||
cGlobals->selRow = selRow;
|
||||
XP_LOGF( "%s(): new game at row %lld", __func__, selRow );
|
||||
} else {
|
||||
assert( selRow == cGlobals->selRow );
|
||||
}
|
||||
|
||||
(*cGlobals->onSave)( cGlobals->onSaveClosure, selRow, newGame );
|
||||
|
|
Loading…
Reference in a new issue