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.
This commit is contained in:
Michael Drake 2014-02-09 13:36:52 +00:00
parent 7f2c977788
commit 8df71860d7

View File

@ -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;