diff options
Diffstat (limited to 'apps/plugins/puzzles/src/grid.c')
-rw-r--r-- | apps/plugins/puzzles/src/grid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/grid.c b/apps/plugins/puzzles/src/grid.c index 89bde187be..5ea37439d4 100644 --- a/apps/plugins/puzzles/src/grid.c +++ b/apps/plugins/puzzles/src/grid.c | |||
@@ -2378,6 +2378,8 @@ static void grid_size_floret(int width, int height, | |||
2378 | *tilesize = FLORET_TILESIZE; | 2378 | *tilesize = FLORET_TILESIZE; |
2379 | *xextent = (6*px+3*qx)/2 * (width-1) + 4*qx + 2*px; | 2379 | *xextent = (6*px+3*qx)/2 * (width-1) + 4*qx + 2*px; |
2380 | *yextent = (5*qy-4*py) * (height-1) + 4*qy + 2*ry; | 2380 | *yextent = (5*qy-4*py) * (height-1) + 4*qy + 2*ry; |
2381 | if (height == 1) | ||
2382 | *yextent += (5*qy-4*py)/2; | ||
2381 | } | 2383 | } |
2382 | 2384 | ||
2383 | static grid *grid_new_floret(int width, int height, const char *desc) | 2385 | static grid *grid_new_floret(int width, int height, const char *desc) |