From 7f793cc7dce2291890084806a90f1b34a4d5db7c Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 17 Sep 2003 02:36:56 +0000 Subject: [PATCH] Minor bug fixes by DLR git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_2_branch/nano@1555 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 7 +++++++ winio.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee70774d..1f7b53f8 100644 --- 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 dd72bcc3..2c53524c 100644 --- 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/" }; -- 2.39.5