]> git.wh0rd.org Git - nano.git/commitdiff
Initializing also openfile->syntax.
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 2 Aug 2015 20:27:45 +0000 (20:27 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Sun, 2 Aug 2015 20:27:45 +0000 (20:27 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5338 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/files.c

index 0f2c2747f98f43db7b7f9eed35a4bed35e0ef4f8..6274f602882263bd1e7423f552b28bb68f4d05c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-02  Benno Schulenberg  <bensberg@justemail.net>
+       * src/files.c (initialize_buffer): Initialize also openfile->syntax.
+       This addresses Debian bug #787914 reported by Paul Wise.
+
 2015-08-01  Benno Schulenberg  <bensberg@justemail.net>
        * src/nano.c (precalc_multicolorinfo): Set each multiline-color
        value instead of OR-ing it.  This fixes Savannah bug #45640.
index 832613ae1e17d516cc674d82199099586a03c603..04816d742038d145acbeb5334143dc29319a838a 100644 (file)
@@ -83,6 +83,7 @@ void initialize_buffer(void)
     openfile->lock_filename = NULL;
 #endif
 #ifndef DISABLE_COLOR
+    openfile->syntax = NULL;
     openfile->colorstrings = NULL;
 #endif
 }