From efa55dd3f1be7908fda06fd3d09d89b4eb2be115 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 15 Jan 2012 15:57:02 +0000 Subject: Fix build svn path=/trunk/netsurf/; revision=13403 --- amiga/gui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'amiga') diff --git a/amiga/gui.c b/amiga/gui.c index 804b58909..293777b15 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3901,13 +3901,13 @@ bool gui_window_drag_start(struct gui_window *g, gui_drag_type type, if(type == GDRAGGING_NONE) { - SetWindowAttrs(gwin->win, WA_GrabFocus, 0, + SetWindowAttrs(g->shared->win, WA_GrabFocus, 0, WA_MouseLimits, NULL, TAG_DONE); - if(gwin->ptr_lock) + if(g->shared->ptr_lock) { - FreeVec(gwin->ptr_lock); - gwin->ptr_lock = NULL; + FreeVec(g->shared->ptr_lock); + g->shared->ptr_lock = NULL; } } -- cgit v1.2.3