Don't omit half the default table (!= not ==).

This commit is contained in:
Nicholas Marriott 2013-02-16 13:29:40 +00:00
parent 10db7ec51b
commit 3e270af17a

View File

@ -360,7 +360,7 @@ tty_keys_build(struct tty *tty)
tdkc = &tty_default_code_keys[i];
s = tty_term_string(tty->term, tdkc->code);
if (*s == '\0')
if (*s != '\0')
tty_keys_add(tty, s, tdkc->key);
}