diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-02 03:58:21 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-02 03:58:21 +0000 |
commit | 83346830688525a287489cc791299cbc945d4fc4 (patch) | |
tree | 2d8fd94d497449f2ffe0b8f1a1ad507b03bca753 /desktop | |
parent | 143d756fcf681c15b82f117f95a1c527389b0177 (diff) | |
download | netsurf-83346830688525a287489cc791299cbc945d4fc4.tar.gz netsurf-83346830688525a287489cc791299cbc945d4fc4.tar.bz2 |
[project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)
svn path=/import/netsurf/; revision=1419
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 1f87fc7dc..dbab40852 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1095,7 +1095,7 @@ void browser_window_textarea_click(struct browser_window *bw, * Consecutive BR may not be present. These constraints are satisfied * by using a 0-length INLINE for blank lines. */ - int char_offset, pixel_offset, new_scroll_y; + int char_offset = 0, pixel_offset = 0, new_scroll_y; struct box *inline_container, *text_box; inline_container = textarea->children; @@ -1464,8 +1464,8 @@ void browser_window_input_click(struct browser_window* bw, int box_x, int box_y, int x, int y) { - size_t char_offset; - int pixel_offset, dx = 0; + size_t char_offset = 0; + int pixel_offset = 0, dx = 0; struct box *text_box = input->children->children; int uchars; unsigned int offset; |