aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/colorize.c b/colorize.c
index cefde45..ff346b0 100644
--- a/colorize.c
+++ b/colorize.c
@@ -704,6 +704,7 @@ process_args (unsigned int arg_cnt, char **arg_strings, char *attr, const struct
color_name.name = color_name.orig = "default";
find_color_entry (&color_name, FOREGROUND, colors);
+ assert (colors[FOREGROUND]->code != NULL);
}
process_file_arg (file_string, file, stream);