From 0c9190e17be10e513d89d15aa29c1aab84124af7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 May 2015 13:42:08 +0300 Subject: Add strong typed bool type UseArgs. --- src/input/inputmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/inputmanager.cpp') diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index 35272f6e8..8b5cb97e2 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -920,7 +920,7 @@ void InputManager::addChatCommands(std::list &arr) FOR_EACH (StringVectCIter, it, tokens) { cmd = std::string("/").append(*it); - if (ad.useArgs) + if (ad.useArgs == UseArgs_true) cmd.append(" "); arr.push_back(cmd); } -- cgit v1.2.3-70-g09d2