1
1

fix off-by-one error when calculating totsize in read_file(), introduced

when totsize was converted to hold the total number of multibyte
characters


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2308 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2005-02-07 05:31:51 +00:00
родитель 3eeb823f92
Коммит daa533a767

Просмотреть файл

@ -296,6 +296,7 @@ void read_file(FILE *f, const char *filename)
} else if (fileptr->next == NULL) {
filebot = fileptr;
new_magicline();
totsize--;
}
}