1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-06 00:14:43 +00:00

Collapse conditionals with identical consequents

This commit is contained in:
Nick Briggs
2023-02-21 12:11:47 -08:00
parent 3745c08f51
commit ac14ce0e40

View File

@@ -453,9 +453,7 @@ void keyboardtype(int fd)
type = KB_SUN2;
else if (strcmp("jle", key) == 0)
type = KB_JLE;
else if (strcmp("X", key) == 0)
type = KB_X;
else if (strcmp("x", key) == 0)
else if (strcmp("X", key) == 0 || strcmp("x", key) == 0)
type = KB_X;
else
type = KB_SUN3; /* default */