diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-01-15 15:57:02 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-01-15 15:57:02 +0000 |
commit | efa55dd3f1be7908fda06fd3d09d89b4eb2be115 (patch) | |
tree | ea53edc68f9c095507f88bd8f0c45c9e28c706e7 /amiga | |
parent | 9f08a052d08967409d62affdcef256d6cd219efc (diff) | |
download | netsurf-efa55dd3f1be7908fda06fd3d09d89b4eb2be115.tar.gz netsurf-efa55dd3f1be7908fda06fd3d09d89b4eb2be115.tar.bz2 |
Fix build
svn path=/trunk/netsurf/; revision=13403
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } } |