diff --git a/ChangeLog b/ChangeLog
index ddae700d586489712f7bd36854d0c40f9420c069..d4e1d8079d0caae0edaa0712416c7abc3446988b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -45,6 +45,10 @@ CVS code -
 	  support, pressing Ctrl-Z to suspend nano at the Linux console
 	  with keypad(TRUE) generates Ctrl-Z instead of KEY_SUSPEND
 	  (which is what ncurses generates then). (DLR)
+- winio.c:
+  titlebar()
+	- Fix problem with the available space for a filename on the
+	  titlebar's being short by one. (DLR)
 - AUTHORS
 	- Updated to show 1.2/1.3 maintainers.
 
diff --git a/winio.c b/winio.c
index 57d9d6295b84005b8cc88b6acd8506cf936e98c4..1dac31d8aa9e5e52266089ef7c8b07ad53002c87 100644
--- a/winio.c
+++ b/winio.c
@@ -779,7 +779,7 @@ void titlebar(const char *path)
     mvwaddstr(topwin, 0, 0, hblank);
     mvwaddnstr(topwin, 0, 2, VERMSG, COLS - 3);
 
-    space = COLS - sizeof(VERMSG) - 22;
+    space = COLS - sizeof(VERMSG) - 23;
 
     namelen = strlen(what);