From: simon Date: Tue, 5 Jan 2010 18:26:44 +0000 (+0000) Subject: Missing piece of code I should have cribbed from Solo: we have to X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/130de411cc2c9177988e016d15dadfe7af09a00a Missing piece of code I should have cribbed from Solo: we have to lay out large numbers of pencil marks differently in a square containing a clue. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8807 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/keen.c b/keen.c index 1c96a5d..5ec7898 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