aboutsummaryrefslogtreecommitdiff
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) {
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;
}