summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
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) {
450 int j; 450 int j;
451 for (j = 0; j < bar->outputs->length; ++j) { 451 for (j = 0; j < bar->outputs->length; ++j) {
452 char *o = bar->outputs->items[j]; 452 char *o = bar->outputs->items[j];
453 if (strcmp(o, "*") || strcasecmp(o, output->name)) { 453 if (!strcmp(o, "*") || !strcasecmp(o, output->name)) {
454 apply = true; 454 apply = true;
455 break; 455 break;
456 } 456 }