summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 19175bfc4..b36be419f 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -1044,7 +1044,7 @@ void browser_window_textarea_callback(struct browser_window *bw, char key, void
/* reflow textarea preserving width and height */
width = textarea->width;
height = textarea->height;
- layout_block(textarea, textarea, 0, 0);
+ layout_block_context(textarea);
textarea->width = width;
textarea->height = height;
}