mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 04:41:21 +03:00
Delete two unneeded #ifdefs -- better fail to compile than create a cripple.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5536 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
9962e3b65c
commit
6d6cda24c8
@ -1,3 +1,7 @@
|
||||
2016-01-07 Benno Schulenberg <bensberg@justemail.net>
|
||||
* 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 <bensberg@justemail.net>
|
||||
* src/global.c (shortcut_init): Nowadays the functions are defined
|
||||
only once, so there is no longer any need to free existing ones.
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user