From 6ace37d0b1cef7dee4e61ab89a58a5ad83444a82 Mon Sep 17 00:00:00 2001 From: "S. Christoffer Eliesen" Date: Sun, 20 Dec 2015 12:52:25 +0100 Subject: config: load_swaybars: Fix name comparison. --- sway/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/config.c b/sway/config.c index faa3e387..dd47721b 100644 --- a/sway/config.c +++ b/sway/config.c @@ -450,7 +450,7 @@ void load_swaybars(swayc_t *output, int output_idx) { int j; for (j = 0; j < bar->outputs->length; ++j) { char *o = bar->outputs->items[j]; - if (strcmp(o, "*") || strcasecmp(o, output->name)) { + if (!strcmp(o, "*") || !strcasecmp(o, output->name)) { apply = true; break; } -- cgit v1.2.3-54-g00ecf