summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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