From: simon Date: Sun, 2 Nov 2008 14:29:41 +0000 (+0000) Subject: Patch from Chris Boyle to prevent Solo's inter-block dividing lines X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/682486d2369c419e4a873beeaaac8d6759a507e8 Patch from Chris Boyle to prevent Solo's inter-block dividing lines from becoming indistinguishable from the intra-block ones at low tile sizes. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8259 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/solo.c b/solo.c index cbf00c5..6ccf1ad 100644 --- a/solo.c +++ b/solo.c @@ -110,7 +110,7 @@ typedef unsigned char digit; #define PREFERRED_TILE_SIZE 32 #define TILE_SIZE (ds->tilesize) #define BORDER (TILE_SIZE / 2) -#define GRIDEXTRA (TILE_SIZE / 32) +#define GRIDEXTRA max((TILE_SIZE / 32),1) #define FLASH_TIME 0.4F