add one last breakage fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
0532296a10
commit
26ee759503
|
@ -186,7 +186,7 @@ void renumber(filestruct *fileptr)
|
||||||
|
|
||||||
assert(fileptr != NULL && fileptr->prev != NULL);
|
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);
|
assert(fileptr != fileptr->next);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue