diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-08 21:42:06 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-08 21:42:06 +0200 |
commit | 518b42b04a9fd32f9822967291a5eb5bfe7f804b (patch) | |
tree | 6964db5439ba1a492786ac0781b005609981326a /source | |
parent | 01860cfde7793f0e13614df6726f364d9cc27843 (diff) | |
download | kit-518b42b04a9fd32f9822967291a5eb5bfe7f804b.zip |
kit_test: fix cpp compat
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/kit_test.h | 8 |
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]); |