summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-12-27 07:41:31 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-12-27 07:41:31 +0000
commit78f1aaf1dc6ddbacd0bd13f5f082e1f88cb02f47 (patch)
treedb006a8ce68cc387dd5bd6ef84e7aeb73ef82214 /src/configuration.cpp
parent5a3932c59852d6492a8452058dc1ebf11d57017a (diff)
downloadmana-78f1aaf1dc6ddbacd0bd13f5f082e1f88cb02f47.tar.gz
mana-78f1aaf1dc6ddbacd0bd13f5f082e1f88cb02f47.tar.bz2
mana-78f1aaf1dc6ddbacd0bd13f5f082e1f88cb02f47.tar.xz
mana-78f1aaf1dc6ddbacd0bd13f5f082e1f88cb02f47.zip
*** empty log message ***
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 599cc3f5..2f794aec 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -138,7 +138,7 @@ void Configuration::setValue(std::string key, std::string value) {
*/
void Configuration::setValue(std::string key, float value) {
INI_OPTION optionTmp;
- if(getValue(key, 0) == 0) {
+ if(getValue(key, -111) == -111) {
#ifdef __DEBUG
std::cout << "Configuration::setValue(" << key << ", " << value << ") newly set\n";
#endif