tweaks: reshuffle a fragment, to group some toggles together
This commit is contained in:
12
src/files.c
12
src/files.c
@@ -1115,6 +1115,11 @@ void do_insertfile(void)
|
|||||||
execute = !execute;
|
execute = !execute;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (func == flip_pipe) {
|
||||||
|
add_or_remove_pipe_symbol_from_answer();
|
||||||
|
given = mallocstrcpy(given, answer);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_BROWSER
|
#ifdef ENABLE_BROWSER
|
||||||
if (func == to_files_void) {
|
if (func == to_files_void) {
|
||||||
@@ -1128,13 +1133,6 @@ void do_insertfile(void)
|
|||||||
answer = chosen;
|
answer = chosen;
|
||||||
response = 0;
|
response = 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#ifndef NANO_TINY
|
|
||||||
if (func == flip_pipe) {
|
|
||||||
add_or_remove_pipe_symbol_from_answer();
|
|
||||||
given = mallocstrcpy(given, answer);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
/* If we don't have a file yet, go back to the prompt. */
|
/* If we don't have a file yet, go back to the prompt. */
|
||||||
if (response != 0 && (!ISSET(MULTIBUFFER) || response != -2))
|
if (response != 0 && (!ISSET(MULTIBUFFER) || response != -2))
|
||||||
|
|||||||
Reference in New Issue
Block a user