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 /filling.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 'filling.c')
| -rw-r--r-- | filling.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -907,7 +907,7 @@ static void game_changed_state(game_ui *ui, game_state *oldstate, #define PREFERRED_TILE_SIZE 32 #define TILE_SIZE (ds->tilesize) #define BORDER (TILE_SIZE / 2) -#define BORDER_WIDTH (TILE_SIZE / 32) +#define BORDER_WIDTH (max(TILE_SIZE / 32, 1)) struct game_drawstate { struct game_params params; |