diff --git a/ChangeLog b/ChangeLog index bd605b54..3cc6a3aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-01-07 Benno Schulenberg + * src/global.c (assign_keyinfo): Delete two unneeded #ifdefs: if + they /could/ be false, the H and E keys would stop working. + 2016-01-04 Benno Schulenberg * src/global.c (shortcut_init): Nowadays the functions are defined only once, so there is no longer any need to free existing ones. diff --git a/src/global.c b/src/global.c index 3e023039..cd1dccf0 100644 --- a/src/global.c +++ b/src/global.c @@ -449,14 +449,10 @@ void assign_keyinfo(sc *s) s->seq = KEY_PPAGE; else if (!strcasecmp(s->keystr, "PgDn")) s->seq = KEY_NPAGE; -#ifdef KEY_HOME else if (!strcasecmp(s->keystr, "Home")) s->seq = KEY_HOME; -#endif -#ifdef KEY_END else if (!strcasecmp(s->keystr, "End")) s->seq = KEY_END; -#endif } }