X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/fa3abef5abe95dd9668a87b1cc57a724dcbf6354..29797015e2425b779af5858b4bac2ff5e3aaee3b:/solo.c 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