projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8523930
)
And another one.
author
Carl Hetherington
<cth@carlh.net>
Sat, 13 May 2017 11:53:25 +0000
(12:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 13 May 2017 11:53:25 +0000
(12:53 +0100)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index a12db7ca6126e9c3e49b64e38c49918a5f649c6a..831a1a2b2b0c2e1913646834d420c5e53c67b18c 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-417,7
+417,7
@@
avio_open_boost (AVIOContext** s, boost::filesystem::path file, int flags)
int const length = (file.string().length() + 1) * 2;
char* utf8 = new char[length];
WideCharToMultiByte (CP_UTF8, 0, file.c_str(), -1, utf8, length, 0, 0);
- int const r = avio_open (s,
file.c_str()
, flags);
+ int const r = avio_open (s,
utf8
, flags);
delete[] utf8;
return r;
#else