aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/grid.c b/grid.c
index 89bde18..5ea3743 100644
--- a/grid.c
+++ b/grid.c
@@ -2378,6 +2378,8 @@ static void grid_size_floret(int width, int height,
*tilesize = FLORET_TILESIZE;
*xextent = (6*px+3*qx)/2 * (width-1) + 4*qx + 2*px;
*yextent = (5*qy-4*py) * (height-1) + 4*qy + 2*ry;
+ if (height == 1)
+ *yextent += (5*qy-4*py)/2;
}
static grid *grid_new_floret(int width, int height, const char *desc)