* prompt.c (update_statusbar_line): Set statusbar_pww when updating the line.

Fixes Savannah bug 24957 by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4434 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2009-11-21 17:12:28 +00:00
parent e9dee887a9
commit 879dfbaf40
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2009-11-21 Chris Allegretta <chrisa@asty.org> 2009-11-21 Chris Allegretta <chrisa@asty.org>
* rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd. * 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> 2009-11-19 Chris Allegretta <chrisa@asty.org>
* nano.c (die_save_file) Try nd match the permissions of the file we were * nano.c (die_save_file) Try nd match the permissions of the file we were

View File

@ -868,7 +868,7 @@ void update_statusbar_line(const char *curranswer, size_t index)
free(expanded); free(expanded);
wattroff(bottomwin, reverse_attr); wattroff(bottomwin, reverse_attr);
statusbar_pww = statusbar_xplustabs();
reset_statusbar_cursor(); reset_statusbar_cursor();
wnoutrefresh(bottomwin); wnoutrefresh(bottomwin);
} }