tweaks: don't bother resetting the Unicode code holder

It will be initialized when a new code is started.
This commit is contained in:
Benno Schulenberg 2016-07-24 13:09:24 +02:00
parent fc0ddab349
commit c073c5ae54

View File

@ -1290,12 +1290,9 @@ long get_unicode_kbinput(WINDOW *win, int kbinput)
break;
}
/* If we have a full result, reset the Unicode digit counter and the
* Unicode sequence holder. */
if (retval != ERR) {
/* If we have a full result, reset the Unicode digit counter. */
if (retval != ERR)
uni_digits = 0;
uni = 0;
}
/* Show feedback only when editing, not when at a prompt. */
else if (win == edit) {
char partial[7] = "......";