From 540716194dd2ee5917acb25e4deed94a9ee939f2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 9 Jan 2011 11:30:09 +0000 Subject: [PATCH] Fix error highlighting after table rearrangement. [originally from svn r9076] --- 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 ||