diff options
author | James Bursa <james@netsurf-browser.org> | 2004-02-11 17:15:36 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-02-11 17:15:36 +0000 |
commit | 9aabe954c0914a998ae1ad0069e0d2ddbea4bf57 (patch) | |
tree | b2d64031dd6b6bd8f3abac09579a3ec8d45f3e0a /desktop | |
parent | d642474df13a68c69623a81e434e86d07968a879 (diff) | |
download | netsurf-9aabe954c0914a998ae1ad0069e0d2ddbea4bf57.tar.gz netsurf-9aabe954c0914a998ae1ad0069e0d2ddbea4bf57.tar.bz2 |
[project @ 2004-02-11 17:15:36 by bursa]
Work on margins etc., clean up many parts of layout code.
svn path=/import/netsurf/; revision=534
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 253a492ad..ef29aa80b 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -997,8 +997,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, (unsigned int)textarea->parent->width, - textarea, 0, 0); + layout_block(textarea, textarea, 0, 0); textarea->width = width; textarea->height = height; } |