mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-30 05:45:43 +00:00
Collapse conditionals with identical consequents
This commit is contained in:
@@ -453,9 +453,7 @@ void keyboardtype(int fd)
|
|||||||
type = KB_SUN2;
|
type = KB_SUN2;
|
||||||
else if (strcmp("jle", key) == 0)
|
else if (strcmp("jle", key) == 0)
|
||||||
type = KB_JLE;
|
type = KB_JLE;
|
||||||
else if (strcmp("X", key) == 0)
|
else if (strcmp("X", key) == 0 || strcmp("x", key) == 0)
|
||||||
type = KB_X;
|
|
||||||
else if (strcmp("x", key) == 0)
|
|
||||||
type = KB_X;
|
type = KB_X;
|
||||||
else
|
else
|
||||||
type = KB_SUN3; /* default */
|
type = KB_SUN3; /* default */
|
||||||
|
|||||||
Reference in New Issue
Block a user