diff options
| author | Simon Tatham <anakin@pobox.com> | 2008-11-02 14:29:41 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2008-11-02 14:29:41 +0000 |
| commit | a35c6602849314ee42894e5cdecc09223f0cab07 (patch) | |
| tree | 3e09a850c53693c1ba5da0cccc8a6883bc48acc7 /solo.c | |
| parent | 808495cb41329afe45f919f238e1a863056f57f0 (diff) | |
| download | puzzles-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |