diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-11 22:16:18 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-11 22:16:35 +0200 |
commit | 3b6c29d676c569a7081dc9322b49ce80ba6fe2f2 (patch) | |
tree | d36f59cc4db1cf9b086f6f5fbee23d67dd424f9c /xC.c | |
parent | b4ee523628b5e91ec06c6c8c61fe03507e1f412e (diff) | |
download | xK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.tar.gz xK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.tar.xz xK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.zip |
xC: silence some compiler warnings
Diffstat (limited to 'xC.c')
-rw-r--r-- | xC.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -3652,19 +3652,19 @@ init_colors (struct app_context *ctx) ctx->theme_defaults[ATTR_ ## id] = (struct attrs) { __VA_ARGS__ } INIT_ATTR (PROMPT, -1, -1, TEXT_BOLD); - INIT_ATTR (RESET, -1, -1); + INIT_ATTR (RESET, -1, -1, 0); INIT_ATTR (DATE_CHANGE, -1, -1, TEXT_BOLD); - INIT_ATTR (READ_MARKER, COLOR_MAGENTA, -1); - INIT_ATTR (WARNING, COLOR_YELLOW, -1); - INIT_ATTR (ERROR, COLOR_RED, -1); + INIT_ATTR (READ_MARKER, COLOR_MAGENTA, -1, 0); + INIT_ATTR (WARNING, COLOR_YELLOW, -1, 0); + INIT_ATTR (ERROR, COLOR_RED, -1, 0); - INIT_ATTR (EXTERNAL, COLOR_WHITE, -1); - INIT_ATTR (TIMESTAMP, COLOR_WHITE, -1); + INIT_ATTR (EXTERNAL, COLOR_WHITE, -1, 0); + INIT_ATTR (TIMESTAMP, COLOR_WHITE, -1, 0); INIT_ATTR (HIGHLIGHT, COLOR_BRIGHT (YELLOW), COLOR_MAGENTA, TEXT_BOLD); - INIT_ATTR (ACTION, COLOR_RED, -1); - INIT_ATTR (USERHOST, COLOR_CYAN, -1); - INIT_ATTR (JOIN, COLOR_GREEN, -1); - INIT_ATTR (PART, COLOR_RED, -1); + INIT_ATTR (ACTION, COLOR_RED, -1, 0); + INIT_ATTR (USERHOST, COLOR_CYAN, -1, 0); + INIT_ATTR (JOIN, COLOR_GREEN, -1, 0); + INIT_ATTR (PART, COLOR_RED, -1, 0); #undef INIT_ATTR |