summaryrefslogtreecommitdiff
path: root/render/html_interaction.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-05-11 08:34:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-05-11 08:34:33 +0000
commitd41dcfa78056072b01e9e85a876257ef64bee411 (patch)
tree21dab0a2c9264f67d55369d48fd3bdb2ebd72b47 /render/html_interaction.c
parent255c858c4350e675e7319ef679ddf3f92c0dbd4c (diff)
downloadnetsurf-d41dcfa78056072b01e9e85a876257ef64bee411.tar.gz
netsurf-d41dcfa78056072b01e9e85a876257ef64bee411.tar.bz2
Fix content drags within scrollable areas. Various tidyups.
svn path=/trunk/netsurf/; revision=12378
Diffstat (limited to 'render/html_interaction.c')
-rw-r--r--render/html_interaction.c3
1 files changed, 2 insertions, 1 deletions
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);