verbatim: do not report "Invalid code" when a Unicode character is typed

This fixes https://savannah.gnu.org/bugs/?58928.

Bug existed since version 5.0, commit 5899181a.
master
Benno Schulenberg 2020-08-10 11:48:31 +02:00
parent 8e226a9f28
commit 1551c1c771
1 changed files with 1 additions and 1 deletions

View File

@ -1465,7 +1465,7 @@ char *get_verbatim_kbinput(WINDOW *win, size_t *count)
beep(); beep();
} else if (*input >= 0x80 && *count == 1) { } else if (*input >= 0x80 && *count == 1) {
put_back(*input); put_back(*input);
*count = 0; *count = 999;
} }
} }