diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 14:30:12 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 14:30:12 +0000 |
commit | 402c4ca66c7d95b1cdfc9eefbcb94947c807155b (patch) | |
tree | dbc42a5d9357d6c03d6c479bf6792754116f8adb /desktop/browser.c | |
parent | 7d3a242132eedadbcb96bead6dbed64729d11aaf (diff) | |
download | netsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.gz netsurf-402c4ca66c7d95b1cdfc9eefbcb94947c807155b.tar.bz2 |
[project @ 2004-08-14 14:30:10 by joty]
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
Diffstat (limited to 'desktop/browser.c')
-rw-r--r-- | desktop/browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 65ba0b050..fac897822 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -605,7 +605,7 @@ void browser_window_mouse_click_html(struct browser_window *bw, url_func_result res; /* search the box tree for a link, imagemap, or form control */ - while ((box = box_at_point(box, x, y, &box_x, &box_y, &content))) { + while ((box = box_at_point(box, x, y, &box_x, &box_y, &content)) != NULL) { if (box->style && box->style->visibility == CSS_VISIBILITY_HIDDEN) continue; |