From d41dcfa78056072b01e9e85a876257ef64bee411 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 11 May 2011 08:34:33 +0000 Subject: Fix content drags within scrollable areas. Various tidyups. svn path=/trunk/netsurf/; revision=12378 --- render/html_interaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render') diff --git a/render/html_interaction.c b/render/html_interaction.c index ffef09ea6..cd4caa488 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -863,7 +863,8 @@ size_t html_selection_drag_end(hlcache_handle *h, browser_mouse_state mouse, void html_box_drag_start(struct box *box, int x, int y) { - int box_x, box_y, scroll_mouse_x, scroll_mouse_y; + int box_x, box_y; + int scroll_mouse_x, scroll_mouse_y; box_coords(box, &box_x, &box_y); -- cgit v1.2.3