Updated cs_CZ translation from Tomáš Begeni.
[dcpomatic.git] / src / lib / analytics.cc
index 7483166bad72bc444d006dd93ac0ff4b32109a7c..836051fe59616756482acf6003ba4539226e90a9 100644 (file)
 #include "analytics.h"
 #include "compose.hpp"
 #include "exceptions.h"
-#include "warnings.h"
+#include <dcp/filesystem.h>
 #include <dcp/raw_convert.h>
+#include <dcp/warnings.h>
 #include <libcxml/cxml.h>
-DCPOMATIC_DISABLE_WARNINGS
+LIBDCP_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <boost/algorithm/string.hpp>
 #include <boost/filesystem.hpp>
 
@@ -110,7 +111,7 @@ Analytics::read ()
 try
 {
        cxml::Document f ("Analytics");
-       f.read_file (read_path("analytics.xml"));
+       f.read_file(dcp::filesystem::fix_long_path(read_path("analytics.xml")));
        _successful_dcp_encodes = f.number_child<int>("SuccessfulDCPEncodes");
 } catch (...) {
        /* Never mind */