aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-11 22:16:18 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-11 22:16:35 +0200
commit3b6c29d676c569a7081dc9322b49ce80ba6fe2f2 (patch)
treed36f59cc4db1cf9b086f6f5fbee23d67dd424f9c
parentb4ee523628b5e91ec06c6c8c61fe03507e1f412e (diff)
downloadxK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.tar.gz
xK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.tar.xz
xK-3b6c29d676c569a7081dc9322b49ce80ba6fe2f2.zip
xC: silence some compiler warnings
-rw-r--r--xC.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/xC.c b/xC.c
index 0da1fea..61be087 100644
--- a/xC.c
+++ b/xC.c
@@ -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