commit 6b49e9e54ee623cd1e2879186ceff1b27b62240f
parent 139fa65c66d831494fa9d6b48d38cf790abe1300
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 22 May 2006 01:29:30 +0000
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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;