Tidy up a few details with custom filenames.
[dcpomatic.git] / src / lib / screen_kdm.cc
index 129e64aeee5b7e88de8bcccd512cdfa8b98c796d..182d03bb071c7d8cd632303ab76357e15272ed5d 100644 (file)
@@ -41,7 +41,7 @@ ScreenKDM::write_files (list<ScreenKDM> screen_kdms, boost::filesystem::path dir
        BOOST_FOREACH (ScreenKDM const & i, screen_kdms) {
                name_values['c'] = i.screen->cinema->name;
                name_values['s'] = i.screen->name;
-               boost::filesystem::path out = directory / (name_format.get(name_values) + ".xml");
+               boost::filesystem::path out = directory / (name_format.get(name_values, ".xml"));
                i.kdm.as_xml (out);
        }
 }