tweaks: normalize some indentation
parent
1c528db8da
commit
b70fe38eab
|
@ -418,8 +418,7 @@ void assign_keyinfo(sc *s, const char *keystring)
|
|||
s->keycode = 0;
|
||||
else if (strcasecmp(s->keystr, "M-Space") == 0)
|
||||
s->keycode = (int) ' ';
|
||||
else {
|
||||
if (!strcasecmp(s->keystr, "Up"))
|
||||
else if (!strcasecmp(s->keystr, "Up"))
|
||||
s->keycode = KEY_UP;
|
||||
else if (!strcasecmp(s->keystr, "Down"))
|
||||
s->keycode = KEY_DOWN;
|
||||
|
@ -448,7 +447,6 @@ void assign_keyinfo(sc *s, const char *keystring)
|
|||
s->keycode = KEY_HOME;
|
||||
else if (!strcasecmp(s->keystr, "End"))
|
||||
s->keycode = KEY_END;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in New Issue