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
Этот коммит содержится в:
родитель
3eeb823f92
Коммит
daa533a767
@ -296,6 +296,7 @@ void read_file(FILE *f, const char *filename)
|
||||
} else if (fileptr->next == NULL) {
|
||||
filebot = fileptr;
|
||||
new_magicline();
|
||||
totsize--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user