diff --git a/ChangeLog b/ChangeLog index 6092ec60..cb00a4c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-11-21 Chris Allegretta * 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 * nano.c (die_save_file) Try nd match the permissions of the file we were diff --git a/src/prompt.c b/src/prompt.c index 4aaec362..7860b182 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -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); }