From 85eea70be41f6ea7f5358aa17e8e004537407e3f Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 3 Oct 2022 16:38:05 +0100 Subject: fix commas in free binds --- src/config/ConfigManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 9dcb21e2..cdc00b9c 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -637,7 +637,7 @@ void CConfigManager::handleBind(const std::string& command, const std::string& v return; } - const auto ARGS = CVarList(value); + const auto ARGS = CVarList(value, 4); if ((ARGS.size() < 4 && !mouse) || (ARGS.size() < 3 && mouse)) { parseError = "bind: too few args"; -- cgit v1.2.3