tweaks: add two spaces and two comments, and drop an internal check
parent
a373fa500a
commit
fc5d58ad97
|
@ -1356,10 +1356,10 @@ void shortcut_init(void)
|
|||
add_to_sclist((MMOST|MBROWSER|MYESNO) & ~MFINDINHELP, "M-X", 0, do_toggle_void, NO_HELP);
|
||||
add_to_sclist(MMAIN, "M-C", 0, do_toggle_void, CONSTANT_SHOW);
|
||||
add_to_sclist(MMAIN, "M-S", 0, do_toggle_void, SOFTWRAP);
|
||||
add_to_sclist(MMAIN, "M-$", 0, do_toggle_void, SOFTWRAP);
|
||||
add_to_sclist(MMAIN, "M-$", 0, do_toggle_void, SOFTWRAP); /* Legacy keystroke. */
|
||||
#ifdef ENABLE_LINENUMBERS
|
||||
add_to_sclist(MMAIN, "M-N", 0, do_toggle_void, LINE_NUMBERS);
|
||||
add_to_sclist(MMAIN, "M-#", 0, do_toggle_void, LINE_NUMBERS);
|
||||
add_to_sclist(MMAIN, "M-#", 0, do_toggle_void, LINE_NUMBERS); /* Legacy keystroke. */
|
||||
#endif
|
||||
add_to_sclist(MMAIN, "M-P", 0, do_toggle_void, WHITESPACE_DISPLAY);
|
||||
#ifdef ENABLE_COLOR
|
||||
|
|
|
@ -842,10 +842,6 @@ int parse_escape_sequence(int starter)
|
|||
keycode = convert_SS3_sequence(key_buffer, key_buffer_len, &consumed);
|
||||
else if (starter == '[')
|
||||
keycode = convert_CSI_sequence(key_buffer, key_buffer_len, &consumed);
|
||||
#ifndef NANO_TINY
|
||||
else
|
||||
die("Bad sequence starter -- please report a bug\n");
|
||||
#endif
|
||||
|
||||
/* Remove the consumed sequence bytes from the keystroke buffer. */
|
||||
key_buffer_len -= consumed;
|
||||
|
|
Loading…
Reference in New Issue