projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swaroop: fix crash when there's an incorrect ecinema KDM.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index c2089146431614bda8957b4b26e74434653f6414..1f6fba96302b4f9b3dc8943374860221fcc7b1cf 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-106,6
+106,7
@@
using boost::scoped_array;
using dcp::Size;
using dcp::raw_convert;
using dcp::locale_convert;
using dcp::Size;
using dcp::raw_convert;
using dcp::locale_convert;
+using namespace dcpomatic;
/** Path to our executable, required by the stacktrace stuff and filled
* in during App::onInit().
/** Path to our executable, required by the stacktrace stuff and filled
* in during App::onInit().
@@
-379,7
+380,7
@@
dcpomatic_setup ()
Pango::init ();
dcp::init ();
Pango::init ();
dcp::init ();
-#if
def DCPOMATIC_WINDOWS
+#if
defined(DCPOMATIC_WINDOWS) || defined(DCPOMATIC_OSX)
/* Render something to fontconfig to create its cache */
list<StringText> subs;
dcp::SubtitleString ss(
/* Render something to fontconfig to create its cache */
list<StringText> subs;
dcp::SubtitleString ss(