ref: f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4
parent: 9f96c12e9f56ab504ffbf11fda68b8f469da63fa
author: Simon Tatham <anakin@pobox.com>
date: Mon Jan 18 16:23:27 EST 2010
Fix from James H: the shared code between drawing and printing should use state->adjacent rather than ds->adjacent, because the latter won't be initialised in printing mode. [originally from svn r8852]
--- a/unequal.c
+++ b/unequal.c
@@ -1902,7 +1902,7 @@
FONT_VARIABLE, TILE_SIZE/2, ALIGN_VCENTRE | ALIGN_HCENTRE,
ink, str);
- if (ds->adjacent)
+ if (state->adjacent)
draw_adjs(dr, ds, ox, oy, GRID(state, flags, x, y), ink);
else
draw_gts(dr, ds, ox, oy, GRID(state, flags, x, y), ink);