tweaks: reshuffle a fragment, to group some toggles together

This commit is contained in:
Benno Schulenberg
2019-10-02 15:07:04 +02:00
parent 9c202198a3
commit 2a4d338d97

View File

@@ -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))