diff --git a/Src/Util/ConfigBuilders.cpp b/Src/Util/ConfigBuilders.cpp index 1a5c9f2..9931c2c 100644 --- a/Src/Util/ConfigBuilders.cpp +++ b/Src/Util/ConfigBuilders.cpp @@ -208,7 +208,7 @@ namespace Util for (auto it = section.begin(); it != section.end(); ++it) { if (it->IsLeaf()) //TODO: check if value exists? - file << it->Key() << " = \"" << it->ValueAs() << "\"" << std::endl; + file << it->Key() << " = " << it->ValueAs() << std::endl; } file << std::endl << std::endl; } @@ -230,6 +230,8 @@ namespace Util if (it->HasChildren()) WriteSection(file, *it); } + printf("Configuration successfully saved to '%s'.\n", filename.c_str()); + InfoLog("Configuration successfully saved to '%s'.", filename.c_str()); } } }