summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-12-26 06:03:39 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-12-26 06:03:39 +0000
commit39b055069250279bd0138d3dd99674d3de1a39a9 (patch)
treee72afeef4ded2e4684d55e220d3d0787700cc2dd /src/configuration.cpp
parentc1ad3223a1c7ac9d85fa4057c4d43123544e1b5a (diff)
downloadmana-client-39b055069250279bd0138d3dd99674d3de1a39a9.tar.gz
mana-client-39b055069250279bd0138d3dd99674d3de1a39a9.tar.bz2
mana-client-39b055069250279bd0138d3dd99674d3de1a39a9.tar.xz
mana-client-39b055069250279bd0138d3dd99674d3de1a39a9.zip
some more code beautification :)
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 4c67a9f4..07e6005f 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -51,12 +51,12 @@ void Configuration::Init(std::string filename) {
}
inFile.close();
- for (iter = iniOptions.begin(); iter != iniOptions.end(); iter++) {
- optionTmp = *iter;
- #ifdef __DEBUG
+ #ifdef __DEBUG
+ for (iter = iniOptions.begin(); iter != iniOptions.end(); iter++) {
+ optionTmp = *iter;
std::cout << "key=(" << optionTmp.key << ") stringValue=(" << optionTmp.stringValue << ") numericValue=(" << optionTmp.numericValue << ")\n";
- #endif
- }
+ }
+ #endif
}
bool Configuration::Write() {
@@ -84,7 +84,7 @@ std::string Configuration::getValue(std::string key, std::string deflt) {
}
/**
- \brief get a value as numeric value (float)
+ \brief get a value as numeric (float)
\param key option identifier
\param deflt default option if not there or error
*/