[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:
parent
3a48308967
commit
892fcd5fba
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue