summaryrefslogtreecommitdiff
path: root/modules/commands/cs_flags.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r--modules/commands/cs_flags.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp
index 07a441141..cc88c330d 100644
--- a/modules/commands/cs_flags.cpp
+++ b/modules/commands/cs_flags.cpp
@@ -197,9 +197,9 @@ class CommandCSFlags : public Command
continue;
}
if (add == 1)
- current_flags.insert(f);
+ current_flags.insert(l.default_char);
else if (add == 0)
- current_flags.erase(f);
+ current_flags.erase(l.default_char);
}
break;
default: