about summary refs log tree commit diff
path: root/src/engine/e_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/e_system.c')
-rw-r--r--src/engine/e_system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/e_system.c b/src/engine/e_system.c
index fa4ba459..198b867d 100644
--- a/src/engine/e_system.c
+++ b/src/engine/e_system.c
@@ -760,9 +760,13 @@ int fs_storage_path(const char *appname, char *path, int max)
 	if(!home)
 		return 0;
 
+#if defined(CONF_PLATFORM_MACOSX)
+	snprintf(path, max, "%s/Library/Application Support/%s", home, appname);
+#else
 	snprintf(path, max, "%s/.%s", home, appname);
 	for(i = strlen(home)+2; path[i]; i++)
 		path[i] = tolower(path[i]);
+#endif
 	
 	return 1;
 #endif