From 6b49e9e54ee623cd1e2879186ceff1b27b62240f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 22 May 2006 01:29:30 +0000 Subject: [PATCH] cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/winio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/winio.c b/src/winio.c index 2381b6f8..50eb5a23 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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;