X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fenv.cpp;h=a47ae22fe0eaf04a995f677b0eff8a8228a70f8c;hb=3a254c43fdafb698e600930bc0aa375d39598854;hp=8091596eaeaa3e3d6c60d3e7b5aab43c9338a135;hpb=bb0c0b196feaa7dbe060bfc5976206269a3215ac;p=casparcg diff --git a/common/env.cpp b/common/env.cpp index 8091596ea..a47ae22fe 100644 --- a/common/env.cpp +++ b/common/env.cpp @@ -56,7 +56,7 @@ void configure(const std::string& filename) { std::string initialPath = boost::filesystem::initial_path().file_string(); - boost::property_tree::read_xml(initialPath + "\\" + filename, pt); + boost::property_tree::read_xml(initialPath + "\\" + filename, pt, boost::property_tree::xml_parser::trim_whitespace | boost::property_tree::xml_parser::no_comments); auto paths = pt.get_child("configuration.paths"); media = widen(paths.get("media-path", initialPath + "\\media\\"));