feedback: don't try to represent keys outside of the seven-bit range

This fixes https://savannah.gnu.org/bugs/?56415.
master
Benno Schulenberg 2019-05-30 19:06:06 +02:00
parent 85eb9b9a53
commit 477ff49f66
1 changed files with 1 additions and 1 deletions

View File

@ -1541,7 +1541,7 @@ void confirm_margin(void)
/* Say that an unbound key was struck, and if possible which one. */
void unbound_key(int code)
{
if (!is_byte(code))
if (code > 0x7F)
statusline(ALERT, _("Unbound key"));
else if (meta_key) {
if (code == '[')