minor redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2003-11-30 02:22:22 +00:00
parent a593f538dd
commit d29146040b
2 changed files with 6 additions and 7 deletions

View File

@ -12,12 +12,12 @@ CVS code -
shortcut-handling code to deal with this. These changes allow shortcut-handling code to deal with this. These changes allow
NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the
shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove shortcut entries for NANO_OPEN(PREV|NEXT)_KEY. Also remove
the values in the shortcut list that were made redundant by the values in the shortcut list and elsewhere that were made
the low-level input overhaul, use toupper() instead of redundant by the low-level input overhaul, use toupper()
subtracting 32 from values for greater code readability, and instead of subtracting 32 from values for greater code
eliminate use of adding 32 to values when testing for toggles, readability, and eliminate use of adding 32 to values when
as get_kbinput_accepted() converts toggle values to lowercase testing for toggles, as get_kbinput_accepted() converts toggle
before returning them. (DLR) values to lowercase before returning them. (DLR)
- Hook up the verbatim input functions so that verbatim input - Hook up the verbatim input functions so that verbatim input
can be used in the edit window. New function can be used in the edit window. New function
do_verbatim_input(); changes to do_char(). (DLR) Additional do_verbatim_input(); changes to do_char(). (DLR) Additional

View File

@ -3609,7 +3609,6 @@ int main(int argc, char *argv[])
* have been handled before we * have been handled before we
* got here */ * got here */
case NANO_CONTROL_5: /* Ctrl-] */ case NANO_CONTROL_5: /* Ctrl-] */
case NANO_CONTROL_8: /* Ctrl-? (Delete) */
break; break;
default: default:
#ifdef DEBUG #ifdef DEBUG