chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808495c
)
Patch from Chris Boyle to prevent Solo's inter-block dividing lines
author
Simon Tatham
<anakin@pobox.com>
Sun, 2 Nov 2008 14:29:41 +0000
(14:29 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sun, 2 Nov 2008 14:29:41 +0000
(14:29 +0000)
from becoming indistinguishable from the intra-block ones at low
tile sizes.
[originally from svn r8259]
solo.c
patch
|
blob
|
history
diff --git
a/solo.c
b/solo.c
index cbf00c516552b8af551bb30744377fc73c77134a..6ccf1adf668ba7bb461b391c664364ad28a18804 100644
(file)
--- 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