summaryrefslogtreecommitdiff
path: root/windows/localhistory.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-02-01 23:59:40 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-02-01 23:59:40 +0000
commit6b99aa53888541d3a755410748476d0876507358 (patch)
tree7e786e4d21e5e9f151448da696ceca5e50259c9d /windows/localhistory.c
parentf382e2821a5519a223c55f8565b3c0ca923d6537 (diff)
downloadnetsurf-6b99aa53888541d3a755410748476d0876507358.tar.gz
netsurf-6b99aa53888541d3a755410748476d0876507358.tar.bz2
remove all references to defunct vertical offset from plotters
svn path=/trunk/netsurf/; revision=9950
Diffstat (limited to 'windows/localhistory.c')
-rw-r--r--windows/localhistory.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/windows/localhistory.c b/windows/localhistory.c
index 09d6e4f4c..aa80aeae3 100644
--- a/windows/localhistory.c
+++ b/windows/localhistory.c
@@ -158,15 +158,13 @@ LRESULT CALLBACK nsws_localhistory_event_callback(HWND hwnd, UINT msg,
break;
case WM_MOVE: {
RECT r, rmain;
- int voffset;
if (w != NULL) {
current_gui = w;
current_hwnd = gui_window_main_window(w);
- voffset = gui_window_voffset(w);
GetWindowRect(hwnd, &r);
GetWindowRect(current_hwnd, &rmain);
gui_window_redraw(w,
- MIN(r.top - rmain.top - voffset, 0),
+ MIN(r.top - rmain.top , 0),
MIN(r.left - rmain.left, 0),
gui_window_height(w) -
MIN(rmain.bottom - r.bottom, 0),