mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +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 */
|
if ( newGame ) { /* new row; need to insert blob first */
|
||||||
cGlobals->selRow = selRow;
|
cGlobals->selRow = selRow;
|
||||||
|
XP_LOGF( "%s(): new game at row %lld", __func__, selRow );
|
||||||
|
} else {
|
||||||
|
assert( selRow == cGlobals->selRow );
|
||||||
}
|
}
|
||||||
|
|
||||||
(*cGlobals->onSave)( cGlobals->onSaveClosure, selRow, newGame );
|
(*cGlobals->onSave)( cGlobals->onSaveClosure, selRow, newGame );
|
||||||
|
|
Loading…
Add table
Reference in a new issue