mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
another move-summary bug
This commit is contained in:
parent
2866ccfc95
commit
3046815907
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ model_undoLatestMoves( ModelCtxt* model, PoolContext* pool,
|
||||||
++nMovesUndone;
|
++nMovesUndone;
|
||||||
|
|
||||||
if ( moveSought < 0 ) {
|
if ( moveSought < 0 ) {
|
||||||
moveSought = entry.moveNum;
|
moveSought = entry.moveNum - 1;
|
||||||
} else if ( moveSought-- != entry.moveNum ) {
|
} else if ( moveSought-- != entry.moveNum ) {
|
||||||
success = XP_FALSE;
|
success = XP_FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue