tweaks: rename three empty functions, and reshuffle some others

Also remove a superfluous check for 'do_replace' -- it never gets
bound in the Search/Replace menus.
This commit is contained in:
Benno Schulenberg
2017-05-08 14:23:47 +02:00
parent 9ea5eef200
commit 509b091c47
4 changed files with 34 additions and 32 deletions

View File

@@ -1112,7 +1112,7 @@ void do_insertfile(void)
given = mallocstrcpy(given, answer);
#ifdef ENABLE_MULTIBUFFER
if (func == new_buffer_void) {
if (func == flip_newbuffer) {
/* Don't allow toggling when in view mode. */
if (!ISSET(VIEW_MODE))
TOGGLE(MULTIBUFFER);
@@ -1122,7 +1122,7 @@ void do_insertfile(void)
}
#endif
#ifndef NANO_TINY
if (func == flip_execute_void) {
if (func == flip_execute) {
execute = !execute;
continue;
}