summaryrefslogtreecommitdiff
path: root/desktop/browser.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-08-07 07:58:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-08-07 07:58:04 +0000
commitcc684469dfd56079949a0b0377b606502d68bbf3 (patch)
treed2b73ac452a15a5c9e6aace740ab4a3940a322dc /desktop/browser.h
parent01cc865e02b1e19b0010b3a9948b554dfd1881a7 (diff)
downloadnetsurf-cc684469dfd56079949a0b0377b606502d68bbf3.tar.gz
netsurf-cc684469dfd56079949a0b0377b606502d68bbf3.tar.bz2
Fix division by 0 caused by uninitialised scale value.
Break out initialisation of common parts of struct browser_window into their own function. svn path=/trunk/netsurf/; revision=3481
Diffstat (limited to 'desktop/browser.h')
-rw-r--r--desktop/browser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index 3e1285324..1e1bf7704 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -188,6 +188,8 @@ extern bool browser_reformat_pending;
struct browser_window * browser_window_create(const char *url,
struct browser_window *clone, const char *referer,
bool history_add);
+void browser_window_initialise_common(struct browser_window *bw,
+ struct browser_window *clone);
void browser_window_go(struct browser_window *bw, const char *url,
const char *referer, bool history_add);
void browser_window_go_unverifiable(struct browser_window *bw,