summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-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: