[project @ 2004-08-03 22:43:38 by bursa]

Fix width of new pages when scale is not 100%.

svn path=/import/netsurf/; revision=1179
This commit is contained in:
James Bursa 2004-08-03 22:43:38 +00:00
parent 3a48308967
commit 892fcd5fba
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ int gui_window_get_width(struct gui_window *g)
warn_user("WimpError", error->errmess);
return 800;
}
return (state.visible.x1 - state.visible.x0) / 2;
return (state.visible.x1 - state.visible.x0) / 2 / g->option.scale;
}