]> git.wh0rd.org Git - nano.git/commitdiff
Fixing compilation when configured with --enable-tiny plus --enable-nanorc.
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 11 Mar 2016 17:14:30 +0000 (17:14 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Fri, 11 Mar 2016 17:14:30 +0000 (17:14 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/rcfile.c

index 86b413d8c9c474968a18deaee7e8f1c4a79774f2..032355e83668abd9697afc1fba8f3205d1733b6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
        * src/rcfile.c (color_to_short): Elide a variable.
        * src/rcfile.c (grab_and_store): First check that there is an
        open syntax before checking that it is named "default".
+       * src/rcfile.c (parse_rcfile): Fix compilation when configured with
+       --enable-tiny plus --enable-nanorc.
 
 2016-03-10  Benno Schulenberg  <bensberg@justemail.net>
        * src/rcfile.c (grab_and_store): Do not accept 'header" and 'magic'
index cdf112e39ab183eadb16de73248263293b99bb4a..5b86c3624d7774915be76b5f195f705f0c4d9613 100644 (file)
@@ -1206,9 +1206,9 @@ void parse_rcfile(FILE *rcstream
     if (opensyntax && endcolor == NULL)
        rcfile_error(N_("Syntax \"%s\" has no color commands"),
                        live_syntax->name);
-#endif
 
     opensyntax = FALSE;
+#endif
 
     free(buf);
     fclose(rcstream);