one more assert

This commit is contained in:
Eric House 2018-06-01 05:58:04 -07:00
parent b7981cc8da
commit 80167fb2d9

View file

@ -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 );