diff options
| author | 2017-06-16 23:15:26 +0200 | |
|---|---|---|
| committer | 2017-06-16 23:15:26 +0200 | |
| commit | a190e4add3035297c0c1886b4d80682a1576430a (patch) | |
| tree | 1955b7b2ae933e4628a54cf3ecb9f45b41dba8b4 /colorize.c | |
| parent | ec07f2562879ae4bbe93ca1de0854b250c9f72fa (diff) | |
| download | colorize-a190e4add3035297c0c1886b4d80682a1576430a.tar.gz colorize-a190e4add3035297c0c1886b4d80682a1576430a.tar.bz2 | |
Minor tweaks
Be more precise with naming/wording
Diffstat (limited to 'colorize.c')
| -rw-r--r-- | colorize.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| @@ -768,15 +768,15 @@ skip_path_colors (const char *color_string, const char *file_string, const struc      if (have_file)        { -        const char *file_exists = color_string; +        const char *file_existing = color_string;          if (file_string) -          vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "cannot be used as color string"); +          vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_existing, "cannot be used as color string");          else            {              if (VALID_FILE_TYPE (mode)) -              vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "must be preceded by color string"); +              vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_existing, "must be preceded by color string");              else -              vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "is not a valid file type"); +              vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_existing, "is not a valid file type");            }        }  } @@ -958,7 +958,7 @@ complete_part_line (const char *p, char **buf, FILE *stream)              if (read_from_stream)                save_char (ch, buf, &i, &size);            } -        else /* read next character */ +        else /* got next character */            {              got_next_char = true;              break; | 
