diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index c1d36e1ab..5b5a1453c 100644 --- a/render/layout.c +++ b/render/layout.c @@ -14,6 +14,7 @@ * precalculation of minimum / maximum box widths. */ +#define _GNU_SOURCE /* for strndup */ #include <alloca.h> #include <assert.h> #include <ctype.h> @@ -1508,7 +1509,8 @@ bool layout_table(struct box *table, int available_width, else excess_y[i] = 0; if (row_span_cell[i] != 0) - row_span_cell[i]->padding[BOTTOM] += row_height + + row_span_cell[i]->padding[BOTTOM] += + row_height + border_spacing_v; } |