From: Simon Tatham Date: Sun, 9 Jan 2011 11:30:09 +0000 (+0000) Subject: Fix error highlighting after table rearrangement. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=540716194dd2ee5917acb25e4deed94a9ee939f2;p=sgt-puzzles.git Fix error highlighting after table rearrangement. [originally from svn r9076] --- 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 ||