aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2011-01-09 11:30:09 +0000
committerSimon Tatham <anakin@pobox.com>2011-01-09 11:30:09 +0000
commit540716194dd2ee5917acb25e4deed94a9ee939f2 (patch)
tree395ed351ca2c78dae873e92990bf1675d2990a56
parent48f6bfa474f091c661a281e36b390a52f998f94d (diff)
downloadpuzzles-540716194dd2ee5917acb25e4deed94a9ee939f2.zip
puzzles-540716194dd2ee5917acb25e4deed94a9ee939f2.tar.gz
puzzles-540716194dd2ee5917acb25e4deed94a9ee939f2.tar.bz2
puzzles-540716194dd2ee5917acb25e4deed94a9ee939f2.tar.xz
Fix error highlighting after table rearrangement.
[originally from svn r9076]
-rw-r--r--unfinished/group.c2
1 files changed, 1 insertions, 1 deletions
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 ||