aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:52:25 +0100
committerS. Christoffer Eliesen <christoffer@eliesen.no>2015-12-20 12:53:56 +0100
commit6ace37d0b1cef7dee4e61ab89a58a5ad83444a82 (patch)
treee6afa68f03a39a8e5932b1c8c64e06bc928438e2 /sway
parent3777c8993b8967aa3fd313c2c7a9304a798efa37 (diff)
downloadsway-6ace37d0b1cef7dee4e61ab89a58a5ad83444a82.tar.xz
config: load_swaybars: Fix name comparison.
Diffstat (limited to 'sway')
-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;
}