mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix reported crash: assertion copying non-network game
This commit is contained in:
parent
f805d7309f
commit
6dfaf8127f
1 changed files with 4 additions and 1 deletions
|
@ -843,8 +843,11 @@ public class GamesList extends XWExpandableListActivity
|
|||
public void run() {
|
||||
byte[] stream = GameUtils.savedGame( GamesList.this,
|
||||
selRowIDs[0] );
|
||||
long groupID =
|
||||
XWPrefs.getDefaultNewGameGroup(GamesList.this);
|
||||
GameLock lock =
|
||||
GameUtils.saveNewGame( GamesList.this, stream );
|
||||
GameUtils.saveNewGame( GamesList.this, stream,
|
||||
groupID );
|
||||
DBUtils.saveSummary( GamesList.this, lock, smry );
|
||||
m_selGames.add( lock.getRowid() );
|
||||
lock.unlock();
|
||||
|
|
Loading…
Reference in a new issue