mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-26 04:16:55 +03:00
- nano.c:help_init() - Capitalize Meta altkeys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1115 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
e8e10347a9
commit
5902f9672d
@ -6,6 +6,8 @@ CVS code -
|
|||||||
check_writable_directory()
|
check_writable_directory()
|
||||||
- Stat full_path, not path (Steven Kneizys).
|
- Stat full_path, not path (Steven Kneizys).
|
||||||
- nano.c:
|
- nano.c:
|
||||||
|
help_init()
|
||||||
|
- Capitalize Meta altkeys.
|
||||||
main()
|
main()
|
||||||
- Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
|
- Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
|
4
nano.c
4
nano.c
@ -2622,6 +2622,10 @@ void help_init(void)
|
|||||||
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
|
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
|
||||||
(meta_shortcut ? "M-%c " : "(M-%c) "),
|
(meta_shortcut ? "M-%c " : "(M-%c) "),
|
||||||
s->altval - 32);
|
s->altval - 32);
|
||||||
|
else if (s->altval >= 'a')
|
||||||
|
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
|
||||||
|
(meta_shortcut ? "M-%c " : "(M-%c) "),
|
||||||
|
s->altval - 32);
|
||||||
else if (s->altval > 0)
|
else if (s->altval > 0)
|
||||||
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
|
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
|
||||||
(meta_shortcut ? "M-%c " : "(M-%c) "),
|
(meta_shortcut ? "M-%c " : "(M-%c) "),
|
||||||
|
Loading…
Reference in New Issue
Block a user