build: fix compilation again when configured with --enable-tiny

This commit is contained in:
Benno Schulenberg 2018-09-08 12:23:39 +02:00
parent e21ce0db1f
commit c7affe17c0
2 changed files with 2 additions and 2 deletions

View File

@ -1015,10 +1015,10 @@ void shortcut_init(void)
add_to_funcs(flip_newbuffer, MINSERTFILE|MEXTCMD,
N_("New Buffer"), WITHORSANS(newbuffer_gist), TOGETHER, NOVIEW);
#endif
#ifndef NANO_TINY
add_to_funcs(flip_convert, MINSERTFILE,
N_("No Conversion"), WITHORSANS(convert_gist), TOGETHER, NOVIEW);
#ifndef NANO_TINY
/* Command execution is only available when not in restricted mode. */
if (!ISSET(RESTRICTED)) {
add_to_funcs(flip_execute, MINSERTFILE,

View File

@ -540,9 +540,9 @@ int parse_kbinput(WINDOW *win)
return CONTROL_END;
else if (retval == controldelete)
return CONTROL_DELETE;
#ifndef NANO_TINY
else if (retval == controlshiftdelete)
return the_code_for(do_cut_prev_word, KEY_BACKSPACE);
#ifndef NANO_TINY
else if (retval == shiftcontrolleft) {
shift_held = TRUE;
return CONTROL_LEFT;