diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/textarea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 5e29ce8da..7444c9f3f 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -1785,12 +1785,12 @@ bool textarea_keypress(struct textarea *ta, uint32_t key) { struct textarea_msg msg; char utf8[6]; - unsigned int caret, caret_init, length, l_len, b_off, b_len; + unsigned int caret, length, l_len, b_off, b_len; int c_line, c_chars, line; bool redraw = false; bool readonly; - caret_init = caret = textarea_get_caret(ta); + caret = textarea_get_caret(ta); line = ta->caret_pos.line; readonly = (ta->flags & TEXTAREA_READONLY ? true : false); |