From: David Lawrence Ramsey Date: Fri, 15 Jul 2005 00:08:23 +0000 (+0000) Subject: add one last breakage fix X-Git-Tag: v1.3.9~181 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=26ee7595033b69bb1576f82a9e2d21625d7e5524;p=nano.git add one last breakage fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index 2d7338e8..64f2ce18 100644 --- a/src/nano.c +++ b/src/nano.c @@ -186,7 +186,7 @@ void renumber(filestruct *fileptr) assert(fileptr != NULL && fileptr->prev != NULL); - line = (fileptr->prev == NULL) ? 1 : fileptr->prev->lineno; + line = (fileptr->prev == NULL) ? 0 : fileptr->prev->lineno; assert(fileptr != fileptr->next);