From 3046815907d95cb38c23cc716f284962661f8ad8 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 31 Oct 2004 00:54:21 +0000 Subject: [PATCH] another move-summary bug --- xwords4/common/model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/model.c b/xwords4/common/model.c index ac43ec12c..00eff2a81 100644 --- a/xwords4/common/model.c +++ b/xwords4/common/model.c @@ -553,7 +553,7 @@ model_undoLatestMoves( ModelCtxt* model, PoolContext* pool, ++nMovesUndone; if ( moveSought < 0 ) { - moveSought = entry.moveNum; + moveSought = entry.moveNum - 1; } else if ( moveSought-- != entry.moveNum ) { success = XP_FALSE; break;