summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-24 01:25:26 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-24 01:25:26 +0100
commitb8216704a7f564753cfcc497cf73ea89c0a865c4 (patch)
tree88f527069697aa4fa30548a90866c87ad0fa68fe /src/lib
parent23945ac9d84e2f77a08591604ec1244535548147 (diff)
Try to fix previous.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 273ae0993..e3efda450 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -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