summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiltjo Posthuma2016-06-28 18:04:56 +0200
committerHiltjo Posthuma2016-06-28 18:04:56 +0200
commit2c01a0e0d97cf6a57bbf09ecafe1b8168dab2a9f (patch)
tree93a932abd821824a61c88babd9425cb2800236e0
parentb3a86b6777cf5bea70847c3e0e4af74c7460cae2 (diff)
downloadaur-2c01a0e0d97cf6a57bbf09ecafe1b8168dab2a9f.tar.gz
config.def.h: style improvement, use color Scheme enum
-rw-r--r--config.def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 13ea4b9ca2f..fd77a070d2b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -12,10 +12,10 @@ static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
-static const char *colors[][3] = {
- /* fg bg border */
- { col_gray3, col_gray1, col_gray2}, /* normal */
- { col_gray4, col_cyan, col_cyan }, /* selected */
+static const char *colors[SchemeLast][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
/* tagging */