You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
481 B

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);