No point in setting caret there.

This commit is contained in:
Michael Drake 2013-02-22 22:16:26 +00:00
parent cd25e581cf
commit c034fb87ad

View File

@ -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: