diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 11:59:48 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 11:59:48 +0000 |
commit | 73555b3f837099e413bc85d8c559dd2bf7fd50b7 (patch) | |
tree | 7ed55fb8d6261a05cea262f0abfd08d113cb8156 /src/configuration.cpp | |
parent | 72a1107e594b1745026241d323f9fc44813bd91d (diff) | |
download | mana-73555b3f837099e413bc85d8c559dd2bf7fd50b7.tar.gz mana-73555b3f837099e413bc85d8c559dd2bf7fd50b7.tar.bz2 mana-73555b3f837099e413bc85d8c559dd2bf7fd50b7.tar.xz mana-73555b3f837099e413bc85d8c559dd2bf7fd50b7.zip |
- minor fixes for ini creation/writing
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 0b1f24a7..dc6aa448 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -72,7 +72,7 @@ bool Configuration::Write(std::string filename) { if(optionTmp.numericValue == 0) { out.write(optionTmp.stringValue.c_str(), optionTmp.stringValue.length()); }else{ - sprintf(tmp, "%19f", optionTmp.numericValue); + sprintf(tmp, "%f", optionTmp.numericValue); out.write(tmp, strlen(tmp)); strcpy(tmp, ""); } |