diff options
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index 42605f49..4b1bf01a 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -452,7 +452,7 @@ void load_swaybars(swayc_t *output, int output_idx) { | |||
452 | int j; | 452 | int j; |
453 | for (j = 0; j < bar->outputs->length; ++j) { | 453 | for (j = 0; j < bar->outputs->length; ++j) { |
454 | char *o = bar->outputs->items[j]; | 454 | char *o = bar->outputs->items[j]; |
455 | if (strcmp(o, "*") || strcasecmp(o, output->name)) { | 455 | if (!strcmp(o, "*") || !strcasecmp(o, output->name)) { |
456 | apply = true; | 456 | apply = true; |
457 | break; | 457 | break; |
458 | } | 458 | } |