- 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:
Chris Allegretta 2002-03-07 12:40:39 +00:00
parent e8e10347a9
commit 5902f9672d
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,8 @@ CVS code -
check_writable_directory()
- Stat full_path, not path (Steven Kneizys).
- nano.c:
help_init()
- Capitalize Meta altkeys.
main()
- Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
- rcfile.c:

4
nano.c
View File

@ -2622,6 +2622,10 @@ void help_init(void)
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
(meta_shortcut ? "M-%c " : "(M-%c) "),
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)
sofar += snprintf(&buf[sofar], BUFSIZ - sofar,
(meta_shortcut ? "M-%c " : "(M-%c) "),