]> git.wh0rd.org Git - nano.git/commitdiff
* prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
authorChris Allegretta <chrisa@asty.org>
Sat, 21 Nov 2009 17:12:28 +0000 (17:12 +0000)
committerChris Allegretta <chrisa@asty.org>
Sat, 21 Nov 2009 17:12:28 +0000 (17:12 +0000)
          Fixes Savannah bug 24957 by Mike Frysinger.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/prompt.c

index 6092ec606f4b661e392e740cc7c61851421eb762..cb00a4c7d07040b07f0bdd2e3805a20e8973c788 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-11-21 Chris Allegretta <chrisa@asty.org>
        * rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd.
+       * prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.
+         Fixes Savannah bug 24957 by Mike Frysinger.
 
 2009-11-19 Chris Allegretta <chrisa@asty.org>
        * nano.c (die_save_file) Try nd match the permissions of the file we were
index 4aaec3628751b8f954ad50084e3735118deb6c76..7860b182d838d6dc88672abbf86747f0a28c1bb9 100644 (file)
@@ -868,7 +868,7 @@ void update_statusbar_line(const char *curranswer, size_t index)
     free(expanded);
 
     wattroff(bottomwin, reverse_attr);
-
+    statusbar_pww = statusbar_xplustabs();
     reset_statusbar_cursor();
     wnoutrefresh(bottomwin);
 }