X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=blobdiff_plain;f=colorize.c;h=70de8488614cd2c2cbb24a8b8740b5c245f2584c;hp=a891135fdd4772710481ff8607f9d7782cee7ff6;hb=52a7c4ca9ae542e8e768daaffed6e3122b71d503;hpb=eb2632a84364899d0d9ce880802d259cf8814006 diff --git a/colorize.c b/colorize.c index a891135..70de848 100644 --- a/colorize.c +++ b/colorize.c @@ -554,7 +554,7 @@ process_args (unsigned int arg_cnt, char **arg_strings, bool *bold, const struct if (file_string) vfprintf_fail (formats[FMT_GENERIC], "hyphen cannot be used as color string"); else - vfprintf_fail (formats[FMT_GENERIC], "hyphen must be preceeded by color string"); + vfprintf_fail (formats[FMT_GENERIC], "hyphen must be preceded by color string"); } ret = lstat (color_string, &sb); @@ -684,7 +684,7 @@ skip_path_colors (const char *color_string, const char *file_string, const struc else { if (VALID_FILE_TYPE (mode)) - vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "must be preceeded by color string"); + vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "must be preceded by color string"); else vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "is not a valid file type"); }