From: David Lawrence Ramsey Date: Mon, 22 May 2006 01:29:30 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.3.12~134 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6b49e9e54ee623cd1e2879186ceff1b27b62240f;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;