ref: 3243a1fd779fd4d1453b27bf938c513e471df08f
parent: 08365fb260ae6e32442dd9f196e65d13facb4b33
author: Ben Harris <bjh21@bjh21.me.uk>
date: Wed Dec 6 17:39:14 EST 2023
Wrap a few long lines in Keen
--- a/keen.c
+++ b/keen.c
@@ -2033,13 +2033,17 @@
* which jut into this square by one pixel.
*/
if (x > 0 && y > 0 && !dsf_equivalent(clues->dsf, y*w+x, (y-1)*w+x-1))
- draw_rect(dr, tx-GRIDEXTRA, ty-GRIDEXTRA, GRIDEXTRA, GRIDEXTRA, COL_GRID);
+ draw_rect(dr, tx-GRIDEXTRA, ty-GRIDEXTRA,
+ GRIDEXTRA, GRIDEXTRA, COL_GRID);
if (x+1 < w && y > 0 && !dsf_equivalent(clues->dsf, y*w+x, (y-1)*w+x+1))
- draw_rect(dr, tx+TILESIZE-1-2*GRIDEXTRA, ty-GRIDEXTRA, GRIDEXTRA, GRIDEXTRA, COL_GRID);
+ draw_rect(dr, tx+TILESIZE-1-2*GRIDEXTRA, ty-GRIDEXTRA,
+ GRIDEXTRA, GRIDEXTRA, COL_GRID);
if (x > 0 && y+1 < w && !dsf_equivalent(clues->dsf, y*w+x, (y+1)*w+x-1))
- draw_rect(dr, tx-GRIDEXTRA, ty+TILESIZE-1-2*GRIDEXTRA, GRIDEXTRA, GRIDEXTRA, COL_GRID);
+ draw_rect(dr, tx-GRIDEXTRA, ty+TILESIZE-1-2*GRIDEXTRA,
+ GRIDEXTRA, GRIDEXTRA, COL_GRID);
if (x+1 < w && y+1 < w && !dsf_equivalent(clues->dsf, y*w+x, (y+1)*w+x+1))
- draw_rect(dr, tx+TILESIZE-1-2*GRIDEXTRA, ty+TILESIZE-1-2*GRIDEXTRA, GRIDEXTRA, GRIDEXTRA, COL_GRID);
+ draw_rect(dr, tx+TILESIZE-1-2*GRIDEXTRA, ty+TILESIZE-1-2*GRIDEXTRA,
+ GRIDEXTRA, GRIDEXTRA, COL_GRID);
/* Draw the box clue. */
if (draw_clue) {