diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-03-01 07:32:35 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-03-01 07:32:35 +0000 |
| commit | cf0b0b747b4ce389b07ccd6e29a50074a940ac93 (patch) | |
| tree | dd43be84ede01c5fe78dd3de659b9ec94dfc87a8 /galaxies.c | |
| parent | 682ea218de892122615f8aff7338306198fe56f4 (diff) | |
| download | puzzles-cf0b0b747b4ce389b07ccd6e29a50074a940ac93.zip puzzles-cf0b0b747b4ce389b07ccd6e29a50074a940ac93.tar.gz puzzles-cf0b0b747b4ce389b07ccd6e29a50074a940ac93.tar.bz2 puzzles-cf0b0b747b4ce389b07ccd6e29a50074a940ac93.tar.xz | |
Bound edge thicknesses below so that they're always thicker than the
grid lines.
[originally from svn r7349]
Diffstat (limited to 'galaxies.c')
| -rw-r--r-- | galaxies.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2075,7 +2075,7 @@ static void game_changed_state(game_ui *ui, game_state *oldstate, #define PREFERRED_TILE_SIZE 32 #define TILE_SIZE (ds->tilesize) #define DOT_SIZE (TILE_SIZE / 4) -#define EDGE_THICKNESS (TILE_SIZE / 16) +#define EDGE_THICKNESS (max(TILE_SIZE / 16, 2)) #define BORDER TILE_SIZE #define COORD(x) ( (x) * TILE_SIZE + BORDER ) |