projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf48ff
)
Another Windows build fix.
author
Carl Hetherington
<cth@carlh.net>
Fri, 12 May 2017 21:32:18 +0000
(22:32 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 12 May 2017 21:32:18 +0000
(22:32 +0100)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 3c0103b1445a98ef0bd090a571a0a047dad705b4..46666780330ceb8d599fbfc59558d68006795ce0 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-416,7
+416,7
@@
avio_open_boost (AVIOContext** s, boost::filesystem::path file, int flags)
#ifdef DCPOMATIC_WINDOWS
int const length = (file.string().length() + 1) * 2;
char* utf8 = new char[length];
- WideCharToMulti
b
yte (CP_UTF8, 0, file.c_str(), -1, utf8, length, 0, 0);
+ WideCharToMulti
B
yte (CP_UTF8, 0, file.c_str(), -1, utf8, length, 0, 0);
int const r = avio_open_boost (s, file.c_str(), flags);
delete[] utf8;
return r;