]> git.wh0rd.org Git - nano.git/commitdiff
still more cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Dec 2007 20:14:18 +0000 (20:14 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Dec 2007 20:14:18 +0000 (20:14 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_0_branch/nano@4184 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/prompt.c
src/winio.c

index 745c4a658970f241e8a1f80279e771d820002f20..01e2f96c05f7972310292a2c62bd8349576b9f77 100644 (file)
@@ -899,10 +899,9 @@ void update_statusbar_line(const char *curranswer, size_t index)
     waddstr(bottomwin, expanded);
     free(expanded);
 
-    reset_statusbar_cursor();
-
     wattroff(bottomwin, reverse_attr);
 
+    reset_statusbar_cursor();
     wnoutrefresh(bottomwin);
 }
 
index 135ec4712e665145f857c306700bf0b3941a996b..7e8a3dc5d1205a41d8a98f151939523602b71b25 100644 (file)
@@ -3122,7 +3122,6 @@ void edit_refresh(void)
        blank_line(edit, nlines, 0, COLS);
 
     reset_cursor();
-
     wnoutrefresh(edit);
 }