Fix Win32 build.
authorCarl Hetherington <cth@carlh.net>
Thu, 17 Oct 2013 12:36:41 +0000 (13:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 17 Oct 2013 12:36:41 +0000 (13:36 +0100)
src/tools/dcpomatic.cc

index 26b4898de0cae62d607d4668df584595664362db..a4e4e8b75c177bcaa952c8c9401ed3f34980de5f 100644 (file)
@@ -442,7 +442,7 @@ private:
        void jobs_show_dcp ()
        {
 #ifdef __WXMSW__
-               string d = film->directory();
+               string d = film->directory().string ();
                wstring w;
                w.assign (d.begin(), d.end());
                ShellExecute (0, L"open", w.c_str(), 0, 0, SW_SHOWDEFAULT);