summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
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 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, "");
}