diff --git a/ChangeLog b/ChangeLog
index 6092ec606f4b661e392e740cc7c61851421eb762..cb00a4c7d07040b07f0bdd2e3805a20e8973c788 100644
--- 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
diff --git a/src/prompt.c b/src/prompt.c
index 4aaec3628751b8f954ad50084e3735118deb6c76..7860b182d838d6dc88672abbf86747f0a28c1bb9 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);
 }