summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.c b/src/app.c
index d8508f70..b2b0f53c 100644
--- a/src/app.c
+++ b/src/app.c
@@ -75,11 +75,11 @@ iDeclareType(App)
75 75
76#if defined (iPlatformApple) 76#if defined (iPlatformApple)
77#define EMB_BIN "../../Resources/resources.lgr" 77#define EMB_BIN "../../Resources/resources.lgr"
78static const char *dataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagrange"; 78static const char *defaultDataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagrange";
79#endif 79#endif
80#if defined (iPlatformMsys) 80#if defined (iPlatformMsys)
81#define EMB_BIN "../resources.lgr" 81#define EMB_BIN "../resources.lgr"
82static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange"; 82static const char *defaultDataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";
83#endif 83#endif
84#if defined (iPlatformLinux) || defined (iPlatformOther) 84#if defined (iPlatformLinux) || defined (iPlatformOther)
85#define EMB_BIN "../../share/lagrange/resources.lgr" 85#define EMB_BIN "../../share/lagrange/resources.lgr"
@@ -1585,7 +1585,7 @@ void openInDefaultBrowser_App(const iString *url) {
1585 1585
1586void revealPath_App(const iString *path) { 1586void revealPath_App(const iString *path) {
1587#if defined (iPlatformApple) 1587#if defined (iPlatformApple)
1588 const char *scriptPath = concatPath_CStr(dataDir_App_, "revealfile.scpt"); 1588 const char *scriptPath = concatPath_CStr(dataDir_App_(), "revealfile.scpt");
1589 iFile *f = newCStr_File(scriptPath); 1589 iFile *f = newCStr_File(scriptPath);
1590 if (open_File(f, writeOnly_FileMode | text_FileMode)) { 1590 if (open_File(f, writeOnly_FileMode | text_FileMode)) {
1591 /* AppleScript to select a specific file. */ 1591 /* AppleScript to select a specific file. */