summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/mouse.h2
-rw-r--r--render/box_construct.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/desktop/mouse.h b/desktop/mouse.h
index 1d7c6cd6f..625b54571 100644
--- a/desktop/mouse.h
+++ b/desktop/mouse.h
@@ -19,7 +19,7 @@
*/
/** \file
- * Browser window creation and manipulation (interface).
+ * Core mouse state.
*/
#ifndef _NETSURF_DESKTOP_MOUSE_H_
diff --git a/render/box_construct.c b/render/box_construct.c
index 0acb9280e..9c5488d9e 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -1629,6 +1629,8 @@ bool box_iframe(BOX_SPECIAL_PARAMS)
iframe->url = talloc_strdup(content, url);
iframe->scrolling = SCROLLING_AUTO;
iframe->border = true;
+
+ /* Add this iframe to the linked list of iframes */
iframe->next = content->data.html.iframe;
content->data.html.iframe = iframe;