From b725220b2f16c89753a2e3bcf793d4822fe3b35c Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 9 Jan 2011 11:30:09 +0000 Subject: [PATCH] Fix error highlighting after table rearrangement. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9076 cda61777-01e9-0310-a592-d414129be87e --- unfinished/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unfinished/group.c b/unfinished/group.c index 037547e..4c49030 100644 --- a/unfinished/group.c +++ b/unfinished/group.c @@ -1710,7 +1710,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate, flashtime >= FLASH_TIME*2/3)) tile |= DF_HIGHLIGHT; /* completion flash */ - error = ds->errtmp[y*w+x]; + error = ds->errtmp[sy*w+sx]; if (ds->tiles[y*w+x] != tile || ds->pencil[y*w+x] != pencil || -- 2.11.0