Try to fix previous.
authorCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2013 00:25:26 +0000 (01:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 24 Jun 2013 00:25:26 +0000 (01:25 +0100)
src/lib/film.cc

index 273ae09934432957506a72675bd44b01674e9b1f..e3efda450b6e07349d253838d3840dddc42f5ac9 100644 (file)
@@ -1000,12 +1000,12 @@ Film::set_content (string c)
        }
 
 #ifdef DVDOMATIC_WINDOWS
-       char dir[512];
+       wchar_t dir[512];
        GetModuleFileName (GetModuleHandle (0), dir, sizeof (dir));
        boost::filesystem::path path_dir (dir);
        path_dir = path_dir.parent_path ();
        path_dir /= "ffprobe.exe";
-       ffprobe = path_dir.string ();
+       string ffprobe = path_dir.string ();
 #else
        string ffprobe = "ffprobe ";
 #endif