From e1dea53d2aa5e44df2fa17fd18885ffd901b1fba Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 1 Jun 2016 18:40:14 +0100 Subject: Make ami_autoscroll private to drag.c --- frontends/amiga/gui.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'frontends/amiga/gui.c') diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c index f07383a72..9490ab19b 100644 --- a/frontends/amiga/gui.c +++ b/frontends/amiga/gui.c @@ -1989,9 +1989,7 @@ static void ami_handle_msg(void) if(gwin->mouse_state & BROWSER_MOUSE_DRAG_ON) { - ami_drag_icon_move(); - - if(ami_autoscroll == TRUE) { + if(ami_drag_icon_move() == TRUE) { if((gwin->win->MouseX < bbox->Left) && ((gwin->win->MouseX - bbox->Left) > -AMI_DRAG_THRESHOLD)) drag_x_move = gwin->win->MouseX - bbox->Left; -- cgit v1.2.3