fix compilation with --enable-debug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3006 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
20d3cb0614
Коммит
7fc0ada6cc
@ -1220,8 +1220,10 @@ void thanks_for_all_the_fish(void)
|
||||
|
||||
syntaxes->extensions = bob->next;
|
||||
free(bob->ext_regex);
|
||||
regfree(bob->ext);
|
||||
free(bob->ext);
|
||||
if (bob->ext != NULL) {
|
||||
regfree(bob->ext);
|
||||
free(bob->ext);
|
||||
}
|
||||
free(bob);
|
||||
}
|
||||
while (syntaxes->color != NULL) {
|
||||
|
@ -3907,7 +3907,7 @@ void do_cursorpos(bool constant)
|
||||
|
||||
/* Check whether totsize is correct. If it isn't, there is a bug
|
||||
* somewhere. */
|
||||
assert(openfile->current != openfile->filebot || i == totsize);
|
||||
assert(openfile->current != openfile->filebot || i == openfile->totsize);
|
||||
|
||||
if (constant && disable_cursorpos) {
|
||||
disable_cursorpos = FALSE;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user