summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-15 20:36:32 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-15 20:36:32 +0100
commitb4488bd72fcbcc3fe393724c9f4c65697fa949b6 (patch)
treec2e0f4228095774287d725cfa14f786f327e507c /src/wx/wx_util.cc
parentdb40e9a10b22085d124521763a8f12a290ba76f7 (diff)
Get prefs icons from the source tree on when starting from the macOS console.
Diffstat (limited to 'src/wx/wx_util.cc')
-rw-r--r--src/wx/wx_util.cc4
1 files changed, 4 insertions, 0 deletions
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