summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-02 04:11:12 +0300
commit5400a3120742494281f6cce43545657432a08f25 (patch)
treebe843b338f34ef2d6d474121031a7b57f82f677b /src/spellmanager.cpp
parentecae89e342fc07daa816fe7de133968a51745040 (diff)
downloadmv-5400a3120742494281f6cce43545657432a08f25.tar.gz
mv-5400a3120742494281f6cce43545657432a08f25.tar.bz2
mv-5400a3120742494281f6cce43545657432a08f25.tar.xz
mv-5400a3120742494281f6cce43545657432a08f25.zip
Add some missing brackets in macroses.
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r--src/spellmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp
index 7de8070ef..34fe739a5 100644
--- a/src/spellmanager.cpp
+++ b/src/spellmanager.cpp
@@ -322,9 +322,9 @@ void SpellManager::load()
#define setOrDel(str, method) \
const std::string var##method = spell->method(); \
if (!var##method.empty()) \
- serverConfig.setValue(str + toString(i), var##method); \
+ serverConfig.setValue((str) + toString(i), var##method); \
else \
- serverConfig.deleteKey(str + toString(i));
+ serverConfig.deleteKey((str) + toString(i));
void SpellManager::save() const
{