~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix from James H: the shared code between drawing and printing
[sgt/puzzles]
/
unequal.c
diff --git
a/unequal.c
b/unequal.c
index
7ea0349
..
57d8afc
100644
(file)
--- a/
unequal.c
+++ b/
unequal.c
@@
-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);