X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.cc;h=28ac6ab5c5b4bb4bace0bec0020ffd4c82aa1453;hb=HEAD;hp=c0f90bd251083676377928818d39d1795c81aa0a;hpb=d464a939f9f851e835b2a4926fafd6eadaa183de;p=dcpomatic.git diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index c0f90bd25..28ac6ab5c 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -670,6 +670,10 @@ bitmap_path (string name) } else { base = resources_path(); } + + if (!boost::filesystem::exists(base / name)) { + base = path / boost::filesystem::path("osx/preferences"); + } #else base = resources_path(); #endif