aboutsummaryrefslogtreecommitdiff
path: root/solo.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2008-11-02 14:29:41 +0000
committerSimon Tatham <anakin@pobox.com>2008-11-02 14:29:41 +0000
commita35c6602849314ee42894e5cdecc09223f0cab07 (patch)
tree3e09a850c53693c1ba5da0cccc8a6883bc48acc7 /solo.c
parent808495cb41329afe45f919f238e1a863056f57f0 (diff)
downloadpuzzles-a35c6602849314ee42894e5cdecc09223f0cab07.zip
puzzles-a35c6602849314ee42894e5cdecc09223f0cab07.tar.gz
puzzles-a35c6602849314ee42894e5cdecc09223f0cab07.tar.bz2
puzzles-a35c6602849314ee42894e5cdecc09223f0cab07.tar.xz
Patch from Chris Boyle to prevent Solo's inter-block dividing lines
from becoming indistinguishable from the intra-block ones at low tile sizes. [originally from svn r8259]
Diffstat (limited to 'solo.c')
-rw-r--r--solo.c2
1 files changed, 1 insertions, 1 deletions
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