Initializing also openfile->syntax.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5338 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg
2015-08-02 20:27:45 +00:00
parent ace151778b
commit 8a06dfa4d7
2 changed files with 5 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ void initialize_buffer(void)
openfile->lock_filename = NULL;
#endif
#ifndef DISABLE_COLOR
openfile->syntax = NULL;
openfile->colorstrings = NULL;
#endif
}