diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-09 13:36:52 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-09 13:36:52 +0000 |
commit | 8df71860d729ee023e6a8697d87390ea495da763 (patch) | |
tree | 60ccb2e0755eab2a9ddd9fad766a1a673f61b154 /cocoa | |
parent | 7f2c9777887544c5bb66f86b866824e6338596c8 (diff) | |
download | netsurf-8df71860d729ee023e6a8697d87390ea495da763.tar.gz netsurf-8df71860d729ee023e6a8697d87390ea495da763.tar.bz2 |
Just make new windows have default scale, since I can't see how to get at the bw.
This all needs to be done in the core anyway.
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/gui.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m index 1a2a9e055..eba33014b 100644 --- a/cocoa/gui.m +++ b/cocoa/gui.m @@ -70,7 +70,7 @@ static struct gui_window *gui_window_create(struct browser_window *bw, BrowserWindowController *window = nil; if (existing != NULL) { - bw->scale = existing->bw->scale; + bw->scale = (float) nsoption_int(scale) / 100; window = [(BrowserViewController *)(existing) windowController]; } else { bw->scale = (float) nsoption_int(scale) / 100; |