blob: 1c6ba22f3ab3c3a17b376f9a7325b68bb1264d54 [file] [log] [blame]
diff -ru nano-1.3.12/src/rcfile.c nano-1.3.12-fix2/src/rcfile.c
--- nano-1.3.12/src/rcfile.c 2006-06-07 22:50:56.000000000 -0400
+++ nano-1.3.12-fix2/src/rcfile.c 2006-07-18 19:22:30.000000000 -0400
@@ -834,9 +834,11 @@
rcfile_error(N_("Unknown flag \"%s\""), option);
}
+#ifdef ENABLE_COLOR
if (endsyntax != NULL && endcolor == NULL)
rcfile_error(N_("Syntax \"%s\" has no color commands"),
endsyntax->desc);
+#endif
free(buf);
fclose(rcstream);