X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/04b82990aeec8ecad30f47617117c20c0dfb5e06..05d03069ea3bd9c97bc3e3d2f50eefd4098e398f:/keen.c diff --git a/keen.c b/keen.c index 1c96a5d..fe41496 100644 --- a/keen.c +++ b/keen.c @@ -1859,6 +1859,13 @@ static void draw_tile(drawing *dr, game_drawstate *ds, struct clues *clues, pr = pl + TILESIZE - GRIDEXTRA; pt = ty + GRIDEXTRA; pb = pt + TILESIZE - GRIDEXTRA; + if (dsf_canonify(clues->dsf, y*w+x) == y*w+x) { + /* + * Make space for the clue text. + */ + pt += TILESIZE/4; + /* minph--; */ + } /* * We arrange our pencil marks in a grid layout, with @@ -2240,6 +2247,10 @@ static void game_print(drawing *dr, game_state *state, int tilesize) FONT_VARIABLE, TILESIZE/2, ALIGN_VCENTRE | ALIGN_HCENTRE, ink, str); } + + sfree(minus_sign); + sfree(times_sign); + sfree(divide_sign); } #ifdef COMBINED