From 8df71860d729ee023e6a8697d87390ea495da763 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 9 Feb 2014 13:36:52 +0000 Subject: 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. --- cocoa/gui.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') 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; -- cgit v1.2.3