main()
- Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
(David Benbennick).
+- rcfile.c:
+ colortoint()
+ - Don't bomb after invalid color and print bad color name
+ (David Benbennick).
+ - And reset mcolor to -1.
- nano.1, nano.1.html:
- Add initialization file comments, change some options from
bracketed to underlined to emphasize that they are not
rcfile_error(_("color %s not understood.\n"
"Valid colors are \"green\", \"red\", \"blue\", \n"
"\"white\", \"yellow\", \"cyan\", \"magenta\" and \n"
- "\"black\", with the optional prefix \"bright\".\n"));
- exit(1);
+ "\"black\", with the optional prefix \"bright\".\n"),
+ colorname);
+ mcolor = -1;
}
-
return mcolor;
}