summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-10 13:42:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-10 13:42:08 +0300
commit0c9190e17be10e513d89d15aa29c1aab84124af7 (patch)
tree058d53a6cf333968b9105222fc314e4557cb629d /src/input/inputmanager.cpp
parentd9a5e91f75d93970be8176aa56314800a417eadd (diff)
downloadmanaplus-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.gz
manaplus-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.bz2
manaplus-0c9190e17be10e513d89d15aa29c1aab84124af7.tar.xz
manaplus-0c9190e17be10e513d89d15aa29c1aab84124af7.zip
Add strong typed bool type UseArgs.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> &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);
}