summaryrefslogtreecommitdiff
path: root/desktop/selection.c
diff options
context:
space:
mode:
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