From 681f0423261b75c87cb8eecf337be00f29cb78a3 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 15 May 2016 10:57:25 +0200
Subject: [PATCH] tweaks: remove a superfluous condition

CONST_UPDATE does not need to influence the delay for blanking the
statusbar; it is enough when it simply prevents it.
---
 src/winio.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/winio.c b/src/winio.c
index ad7dbf50..d176f7e5 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -2090,15 +2090,15 @@ void statusbar(const char *msg, ...)
     /* Push the message to the screen straightaway. */
     doupdate();
 
-    /* If we're doing quick statusbar blanking, and constant cursor
-     * position display is off, blank the statusbar after only one
+    /* If we're doing quick statusbar blanking, blank it after just one
      * keystroke.  Otherwise, blank it after twenty-six keystrokes, as
      * Pico does. */
-    statusblank =
 #ifndef NANO_TINY
-	ISSET(QUICK_BLANK) && !ISSET(CONST_UPDATE) ? 1 :
+    if (ISSET(QUICK_BLANK))
+	statusblank = 1;
+    else
 #endif
-	26;
+	statusblank = 26;
 }
 
 /* Display the shortcut list corresponding to menu on the last two rows
-- 
GitLab