]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 May 2006 01:29:30 +0000 (01:29 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 May 2006 01:29:30 +0000 (01:29 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index 2381b6f870fda5776fb8ef6550ca79207ebc5eac..50eb5a23a2325b7b648c1dff1917a95d85995ae0 100644 (file)
@@ -316,9 +316,9 @@ int get_kbinput(WINDOW *win, bool *meta_key, bool *func_key)
      * we get a recognized value or sequence. */
     while ((kbinput = parse_kbinput(win, meta_key, func_key)) == ERR);
 
-    /* If we didn't read from the statusbar prompt, blank the statusbar
-     * if we need to. */
-    if (win != bottomwin)
+    /* If we read from the edit window, blank the statusbar if we need
+     * to. */
+    if (win == edit)
        check_statusblank();
 
     return kbinput;