From 879dfbaf40b73c097e179db4f31975df20dc9351 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sat, 21 Nov 2009 17:12:28 +0000 Subject: [PATCH] * 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 --- ChangeLog | 2 ++ src/prompt.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); }