diff options
author | James Bursa <james@netsurf-browser.org> | 2005-04-17 16:56:41 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-04-17 16:56:41 +0000 |
commit | 2f389b30329e59f8bb7b943caa858a6d74b619b8 (patch) | |
tree | d614ab32f6b9a389d6b093316c6aba3f463e3d9f /render | |
parent | b1848eb109421c5e444d9b8662bd1ab6f75a1562 (diff) | |
download | netsurf-2f389b30329e59f8bb7b943caa858a6d74b619b8.tar.gz netsurf-2f389b30329e59f8bb7b943caa858a6d74b619b8.tar.bz2 |
[project @ 2005-04-17 16:56:41 by bursa]
Fix frameset code.
svn path=/import/netsurf/; revision=1663
Diffstat (limited to 'render')
-rw-r--r-- | render/box_construct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index 88a432e67..fae22d6f4 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -11,6 +11,7 @@ * Conversion of XML tree to box tree (implementation). */ +#define _GNU_SOURCE /* for strndup */ #include <assert.h> #include <ctype.h> #include <stdio.h> @@ -1473,7 +1474,7 @@ bool box_frameset(BOX_SPECIAL_PARAMS) content); if (!frameset_box) return false; - if (!box_frameset(n, content, frameset_box, 0)) + if (!box_frameset(c, content, frameset_box, 0)) return false; box_add_child(cell_box, frameset_box); |