From ea2b51a41d135232ad1e7610111529c223aabb84 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 9 Aug 2015 18:10:13 +0000 Subject: [PATCH] Removing an unneeded and mistaken condition: if something should be blanked, then both. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/nano.c | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47b22240..37402dcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ * src/files.c (read_file), src/rcfile.c, src/nano.c (main, usage): Fix compilation with --enable-tiny; file formats are not available then, so option --unix has no place; also add its description. + * src/nano.c (finish): Remove an unneeded and mistaken condition. 2015-08-08 Benno Schulenberg * src/winio.c (display_string): For some reason the reallocation done diff --git a/src/nano.c b/src/nano.c index c376aaa5..03a34ff7 100644 --- a/src/nano.c +++ b/src/nano.c @@ -614,12 +614,10 @@ void say_there_is_no_help(void) /* Make nano exit gracefully. */ void finish(void) { - /* Blank the statusbar (and shortcut list, if applicable), and move - * the cursor to the last line of the screen. */ - if (!ISSET(NO_HELP)) - blank_bottombars(); - else - blank_statusbar(); + /* Blank the statusbar and (if applicable) the shortcut list, + * and move the cursor to the last line of the screen. */ + blank_statusbar(); + blank_bottombars(); wrefresh(bottomwin); endwin(); -- 2.39.5