summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 38019be5..f748a969 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1897,7 +1897,7 @@ static struct cmd_results *bar_cmd_modifier(int argc, char **argv) {
1897 bool is_mod = false; 1897 bool is_mod = false;
1898 for (j = 0; j < (int)(sizeof(modifiers) / sizeof(struct modifier_key)); ++j) { 1898 for (j = 0; j < (int)(sizeof(modifiers) / sizeof(struct modifier_key)); ++j) {
1899 if (strcasecmp(modifiers[j].name, split->items[i]) == 0) { 1899 if (strcasecmp(modifiers[j].name, split->items[i]) == 0) {
1900 mod |= modifiers[j].mod; 1900 mod = modifiers[j].mod;
1901 is_mod = true; 1901 is_mod = true;
1902 break; 1902 break;
1903 } 1903 }