From 6b99aa53888541d3a755410748476d0876507358 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 1 Feb 2010 23:59:40 +0000 Subject: remove all references to defunct vertical offset from plotters svn path=/trunk/netsurf/; revision=9950 --- windows/localhistory.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'windows/localhistory.c') 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), -- cgit v1.2.3