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 7cd9e9e2..58eecf51 100644
--- a/src/app.c
+++ b/src/app.c
@@ -325,6 +325,9 @@ static const char *dataDir_App_(void) {
325} 325}
326 326
327static const char *downloadDir_App_(void) { 327static const char *downloadDir_App_(void) {
328#if defined (iPlatformAndroidMobile)
329 return concatPath_CStr(SDL_AndroidGetInternalStoragePath(), "Downloads");
330#endif
328#if defined (iPlatformLinux) || defined (iPlatformOther) 331#if defined (iPlatformLinux) || defined (iPlatformOther)
329 /* Parse user-dirs.dirs using the `xdg-user-dir` tool. */ 332 /* Parse user-dirs.dirs using the `xdg-user-dir` tool. */
330 iProcess *proc = iClob(new_Process()); 333 iProcess *proc = iClob(new_Process());
@@ -347,9 +350,6 @@ static const char *downloadDir_App_(void) {
347 } 350 }
348 return cstr_String(dlDir); 351 return cstr_String(dlDir);
349#endif 352#endif
350#if defined (iPlatformAndroidMobile)
351 return SDL_AndroidGetInternalStoragePath();
352#endif
353 return defaultDownloadDir_App_; 353 return defaultDownloadDir_App_;
354} 354}
355 355