diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-01-18 21:23:27 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-01-18 21:23:27 +0000 |
| commit | f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4 (patch) | |
| tree | 40fd745255027fc28af05b6f59bd35c6e196f5eb /unequal.c | |
| parent | 9f96c12e9f56ab504ffbf11fda68b8f469da63fa (diff) | |
| download | puzzles-f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4.zip puzzles-f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4.tar.gz puzzles-f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4.tar.bz2 puzzles-f55dc67f4305d9e4cfaa89e5c7ad34da6c75d5a4.tar.xz | |
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]
Diffstat (limited to 'unequal.c')
| -rw-r--r-- | unequal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1902,7 +1902,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize) 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); |