summaryrefslogtreecommitdiff
path: root/src/configmanager.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/configmanager.cpp
parentecae89e342fc07daa816fe7de133968a51745040 (diff)
downloadmanaverse-5400a3120742494281f6cce43545657432a08f25.tar.gz
manaverse-5400a3120742494281f6cce43545657432a08f25.tar.bz2
manaverse-5400a3120742494281f6cce43545657432a08f25.tar.xz
manaverse-5400a3120742494281f6cce43545657432a08f25.zip
Add some missing brackets in macroses.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index a5d49bc90..ad3a5470a 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -364,7 +364,7 @@ void ConfigManager::storeSafeParameters()
#endif // __native_client__
#define unassignKey(key, value) \
- if (config.getStringValue(prefix + key) == value) \
+ if (config.getStringValue(prefix + (key)) == (value)) \
config.setValue(key, "-1");
void ConfigManager::checkConfigVersion()