=> 9b654ff51f647a5f594d4c0267066851476bbd5f
[1mdiff --git a/src/app.c b/src/app.c[m [1mindex 195b3b43..d4b2ab54 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -75,11 +75,11 @@[m [miDeclareType(App)[m [m #if defined (iPlatformApple)[m #define EMB_BIN "../../Resources/resources.lgr"[m [31m-static const char *dataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagrange";[m [32m+[m[32mstatic const char *defaultDataDir_App_ = "~/Library/Application Support/fi.skyjake.Lagrange";[m #endif[m #if defined (iPlatformMsys)[m #define EMB_BIN "../resources.lgr"[m [31m-static const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";[m [32m+[m[32mstatic const char *defaultDataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";[m #endif[m #if defined (iPlatformLinux) || defined (iPlatformOther)[m #define EMB_BIN "../../share/lagrange/resources.lgr"[m [36m@@ -368,6 +368,7 @@[m [mstatic void saveState_App_(const iApp *d) {[m #if defined (LAGRANGE_IDLE_SLEEP)[m static uint32_t checkAsleep_App_(uint32_t interval, void *param) {[m iApp *d = param;[m [32m+[m[32m iUnused(d);[m SDL_Event ev = { .type = SDL_USEREVENT };[m ev.user.code = asleep_UserEventCode;[m SDL_PushEvent(&ev);[m [36m@@ -1577,7 +1578,7 @@[m [mvoid openInDefaultBrowser_App(const iString *url) {[m [m void revealPath_App(const iString *path) {[m #if defined (iPlatformApple)[m [31m- const char *scriptPath = concatPath_CStr(dataDir_App_, "revealfile.scpt");[m [32m+[m[32m const char *scriptPath = concatPath_CStr(dataDir_App_(), "revealfile.scpt");[m iFile *f = newCStr_File(scriptPath);[m if (open_File(f, writeOnly_FileMode | text_FileMode)) {[m /* AppleScript to select a specific file. */[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).