now does what the previous commit was supposed to make it do, but with fewer bugs

This commit is contained in:
bill@Ixion
2009-09-19 20:45:20 -05:00
parent a45500c1ff
commit ac16935782
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ namespace physfs
#ifdef WINDOWS
return getenv("APPDATA");
#elif defined(LOVE_MACOSX)
std::string udir(getUserDirectory());
std::string udir = getUserDirectory();
udir.append("/Library/Application Support");
return udir.c_str();
#else
+5 -1
View File
@@ -49,7 +49,11 @@
# define LOVE_PATH_SEPARATOR "/"
# define LOVE_MAX_PATH _MAX_PATH
#else
# define LOVE_APPDATA_FOLDER ".love"
# ifdef LOVE_MACOSX
# define LOVE_APPDATA_FOLDER "LOVE"
# else
# define LOVE_APPDATA_FOLDER ".love"
# endif
# define LOVE_PATH_SEPARATOR "/"
# define LOVE_MAX_PATH MAXPATHLEN
#endif