mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
fix creation of bogus game
Snapshot can be the first write. Save the rowid if it's new.
This commit is contained in:
parent
b24d60e7bf
commit
ffaa47f893
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ addSnapshot( CommonGlobals* cGlobals )
|
|||
XWStreamCtxt* stream = make_simple_stream( cGlobals );
|
||||
getImage( dctx, stream );
|
||||
removeSurface( dctx );
|
||||
writeBlobColumnStream( stream, cGlobals->pDb, cGlobals->selRow, "snap" );
|
||||
// XP_ASSERT( cGlobals->selRow == newRow );
|
||||
cGlobals->selRow = writeBlobColumnStream( stream, cGlobals->pDb,
|
||||
cGlobals->selRow, "snap" );
|
||||
stream_destroy( stream );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue