mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
config: load_swaybars: Fix name comparison.
This commit is contained in:
parent
3777c8993b
commit
6ace37d0b1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue