From c034fb87ad79c704b86b05ac494ccb572544b39c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 22 Feb 2013 22:16:26 +0000 Subject: No point in setting caret there. --- desktop/textarea.c | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop') 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: -- cgit v1.2.3