summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/kit_test.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/kit/kit_test.h b/source/kit/kit_test.h
index f935cf9..70b08b3 100644
--- a/source/kit/kit_test.h
+++ b/source/kit/kit_test.h
@@ -330,11 +330,9 @@ enum {
kit_green_
};
-static char const *kit_color_codes_[] = {
- [kit_white_] = "\x1b[38m", [kit_blue_] = "\x1b[34m",
- [kit_light_] = "\x1b[37m", [kit_yellow_] = "\x1b[33m",
- [kit_red_] = "\x1b[31m", [kit_green_] = "\x1b[32m"
-};
+static char const *kit_color_codes_[] = { "\x1b[38m", "\x1b[34m",
+ "\x1b[37m", "\x1b[33m",
+ "\x1b[31m", "\x1b[32m" };
static int kit_print_color_(int c) {
return printf("%s", kit_color_codes_[c]);