summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 0284c9079..cc4b468dc 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -717,7 +717,8 @@ void browser_window_textarea_callback(struct browser_window *bw, char key, void
reflow = true;
} else if (key == 10 || key == 13) {
/* paragraph break */
- struct box *new_container = box_create(0, 0, 0);
+ struct box *new_container = box_create(0, 0, 0,
+ bw->current_content->data.html.box_pool);
struct box *new_text = xcalloc(1, sizeof(*new_text));
struct box *t;
new_container->type = BOX_INLINE_CONTAINER;