summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-04-16 16:14:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-04-16 16:14:40 +0000
commitcc35563f2bd4bf3ec4fa78a60feab889165bf9a7 (patch)
tree30407a74be567020626b68ed4703b2324a807c92 /render/box_construct.c
parenta018a75d6703a05840925313792078311e784a23 (diff)
downloadnetsurf-cc35563f2bd4bf3ec4fa78a60feab889165bf9a7.tar.gz
netsurf-cc35563f2bd4bf3ec4fa78a60feab889165bf9a7.tar.bz2
Fix frameset processing.
svn path=/trunk/netsurf/; revision=13875
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 9bcbf7ab6..c62f4390d 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -2189,6 +2189,9 @@ bool box_create_frameset(struct content_html_frames *f, dom_node *n,
dom_node_unref(c);
c = next;
+ } else {
+ /* Got a FRAME or FRAMESET element */
+ break;
}
}