diff -u nano/rcfile.c nano-rcerror/rcfile.c --- nano/rcfile.c Wed Feb 5 03:45:30 2003 +++ nano-rcerror/rcfile.c Wed Feb 5 06:30:16 2003 @@ -211,13 +211,12 @@ mcolor = COLOR_MAGENTA; else if (!strcasecmp(colorname, "black")) mcolor = COLOR_BLACK; - else { + else 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); return mcolor; }