build: fix compilation again when configured with --enable-tiny
Этот коммит содержится в:
родитель
e21ce0db1f
Коммит
c7affe17c0
@ -1015,10 +1015,10 @@ void shortcut_init(void)
|
|||||||
add_to_funcs(flip_newbuffer, MINSERTFILE|MEXTCMD,
|
add_to_funcs(flip_newbuffer, MINSERTFILE|MEXTCMD,
|
||||||
N_("New Buffer"), WITHORSANS(newbuffer_gist), TOGETHER, NOVIEW);
|
N_("New Buffer"), WITHORSANS(newbuffer_gist), TOGETHER, NOVIEW);
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef NANO_TINY
|
||||||
add_to_funcs(flip_convert, MINSERTFILE,
|
add_to_funcs(flip_convert, MINSERTFILE,
|
||||||
N_("No Conversion"), WITHORSANS(convert_gist), TOGETHER, NOVIEW);
|
N_("No Conversion"), WITHORSANS(convert_gist), TOGETHER, NOVIEW);
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
|
||||||
/* Command execution is only available when not in restricted mode. */
|
/* Command execution is only available when not in restricted mode. */
|
||||||
if (!ISSET(RESTRICTED)) {
|
if (!ISSET(RESTRICTED)) {
|
||||||
add_to_funcs(flip_execute, MINSERTFILE,
|
add_to_funcs(flip_execute, MINSERTFILE,
|
||||||
|
@ -540,9 +540,9 @@ int parse_kbinput(WINDOW *win)
|
|||||||
return CONTROL_END;
|
return CONTROL_END;
|
||||||
else if (retval == controldelete)
|
else if (retval == controldelete)
|
||||||
return CONTROL_DELETE;
|
return CONTROL_DELETE;
|
||||||
|
#ifndef NANO_TINY
|
||||||
else if (retval == controlshiftdelete)
|
else if (retval == controlshiftdelete)
|
||||||
return the_code_for(do_cut_prev_word, KEY_BACKSPACE);
|
return the_code_for(do_cut_prev_word, KEY_BACKSPACE);
|
||||||
#ifndef NANO_TINY
|
|
||||||
else if (retval == shiftcontrolleft) {
|
else if (retval == shiftcontrolleft) {
|
||||||
shift_held = TRUE;
|
shift_held = TRUE;
|
||||||
return CONTROL_LEFT;
|
return CONTROL_LEFT;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user