summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-02-22 22:16:26 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-02-22 22:16:26 +0000
commitc034fb87ad79c704b86b05ac494ccb572544b39c (patch)
treea55dbefb3f30d8ae9c204ee68bca77735f72f839 /desktop/textarea.c
parentcd25e581cfb077e0312bf1a833542901976fc373 (diff)
downloadnetsurf-c034fb87ad79c704b86b05ac494ccb572544b39c.tar.gz
netsurf-c034fb87ad79c704b86b05ac494ccb572544b39c.tar.bz2
No point in setting caret there.
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r--desktop/textarea.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index fef2d4f19..5e29ce8da 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -1818,7 +1818,6 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
} else switch (key) {
case KEY_SELECT_ALL:
- caret = ta->text.utf8_len;
textarea_select(ta, 0, ta->text.utf8_len, true);
return true;
case KEY_COPY_SELECTION: