]> git.wh0rd.org Git - nano.git/commitdiff
Minor bug fixes by DLR
authorChris Allegretta <chrisa@asty.org>
Wed, 17 Sep 2003 02:36:56 +0000 (02:36 +0000)
committerChris Allegretta <chrisa@asty.org>
Wed, 17 Sep 2003 02:36:56 +0000 (02:36 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_2_branch/nano@1555 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
winio.c

index ee70774da5b4c6290ab2672b6aae4216a60d648c..1f7b53f852842d9e7d649d7f918510acb7407539 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 CVS code -
 
+- winio.c:
+  titlebar()
+       - Fix problem with the available space for a filename on the
+         titlebar's being short by one. (DLR)
+  do_credits()
+       - Update the copyright years to "1999-2003", to match those
+         given in the rest of the code. (DLR)
 - AUTHORS
        - Updated to show 1.2/1.3 maintainers.
 
diff --git a/winio.c b/winio.c
index dd72bcc3c0258d550e7f615dbb8cb1205e4e5321..2c53524c6a374bcb1280d25961ec4dc47514ae7b 100644 (file)
--- a/winio.c
+++ b/winio.c
@@ -587,7 +587,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);
 
@@ -1830,7 +1830,7 @@ void do_credits(void)
        "6",                            /* "and anyone else we forgot..." */
        "7",                            /* "Thank you for using nano!\n" */
        "", "", "", "",
-       "(c) 1999-2002 Chris Allegretta",
+       "(c) 1999-2003 Chris Allegretta",
        "", "", "", "",
        "http://www.nano-editor.org/"
     };