summaryrefslogtreecommitdiff
path: root/desktop/selection.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-03-30 00:06:16 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-03-30 00:06:16 +0000
commit8ec3958b0421504b4a1a51df395aea9a8a94a317 (patch)
tree10e80390eadcef6fb06d589d7bae3756add0d1b4 /desktop/selection.c
parentba18c561233efbbda35aebc22e8454d2626efcca (diff)
downloadnetsurf-8ec3958b0421504b4a1a51df395aea9a8a94a317.tar.gz
netsurf-8ec3958b0421504b4a1a51df395aea9a8a94a317.tar.bz2
Ensure adjust drags before selection adjust selection start point.
svn path=/trunk/netsurf/; revision=4061
Diffstat (limited to 'desktop/selection.c')
-rw-r--r--desktop/selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c
index ecfb2c187..2cc4c886c 100644
--- a/desktop/selection.c
+++ b/desktop/selection.c
@@ -242,7 +242,7 @@ bool selection_click(struct selection *s, browser_mouse_state mouse, unsigned id
return false; /* not our problem */
if (selection_defined(s)) {
- if (idx >= s->start_idx) {
+ if (idx > s->start_idx) {
if (idx < s->end_idx)
pos = 0;
else