aboutsummaryrefslogtreecommitdiff
path: root/sway/log.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-29 07:43:50 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-29 07:43:50 -0400
commitfe3b85d65ff84133cfbe43c11a5462beddbefaff (patch)
tree46356ae7b43ce6a2ea133771784a072294918f78 /sway/log.c
parentd7f8bbd35323e9d83b10ab9fbd8715ec4f1aaa8c (diff)
parent494499617090eccf73a0c75380ca884e77548a9f (diff)
Merge pull request #181 from taiyu-len/master
multi command keybinds
Diffstat (limited to 'sway/log.c')
-rw-r--r--sway/log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/log.c b/sway/log.c
index a6582172..a206d971 100644
--- a/sway/log.c
+++ b/sway/log.c
@@ -14,10 +14,10 @@ int colored = 1;
log_importance_t v = L_SILENT;
static const char *verbosity_colors[] = {
- "", // L_SILENT
- "\x1B[1;31m", // L_ERROR
- "\x1B[1;34m", // L_INFO
- "\x1B[1;30m", // L_DEBUG
+ [L_SILENT] = "",
+ [L_ERROR ] = "\x1B[1;31m",
+ [L_INFO ] = "\x1B[1;34m",
+ [L_DEBUG ] = "\x1B[1;30m",
};
void init_log(log_importance_t verbosity) {