diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-03 21:01:08 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-03 21:01:08 +0100 |
| commit | ab82c4806dc0995e5ab771cd4917a121b4a61c04 (patch) | |
| tree | f79aa3de149f02a0d4f9464a42f5f273ca1ede30 /src/config/ConfigManager.cpp | |
| parent | 49ab3890aa826918568c62f9cda4df023f3dcbb2 (diff) | |
allow one less arg in bind
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index cdc00b9c..cb47d86e 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -639,7 +639,7 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v const auto ARGS = CVarList(value, 4); - if ((ARGS.size() < 4 && !mouse) || (ARGS.size() < 3 && mouse)) { + if ((ARGS.size() < 3 && !mouse) || (ARGS.size() < 3 && mouse)) { parseError = "bind: too few args"; return; } else if ((ARGS.size() > 4 && !mouse) || (ARGS.size() > 3 && mouse)) { |
