Try to fix UTF-8 failure on Windows.
authorCarl Hetherington <cth@carlh.net>
Tue, 26 Nov 2013 09:59:39 +0000 (09:59 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 26 Nov 2013 09:59:39 +0000 (09:59 +0000)
src/tools/dcpomatic.cc

index 420d828b0730635f4c6a36ac9110f9a09e88cb00..2a0cb9cd36935a1ae53d67fafd60e8d92578b7c6 100644 (file)
@@ -347,7 +347,7 @@ private:
                                            std_to_wx (
                                                    String::compose (wx_to_std (_("The directory %1 already exists and is not empty.  "
                                                                                  "Are you sure you want to use it?")),
-                                                                    d->get_path().c_str())
+                                                                    d->get_path().string().c_str())
                                                    )
                                            )) {
                                        return;