1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Revert the upper-case PROJECT_NAME nonsense that was part of #2402

This commit is contained in:
sfan5 2015-04-27 16:17:10 +02:00
parent 558d715bf6
commit 4ea5a96fff
13 changed files with 53 additions and 52 deletions

View file

@ -479,7 +479,7 @@ bool setSystemPaths()
DWORD len = GetEnvironmentVariable("APPDATA", buf, sizeof(buf));
FATAL_ERROR_IF(len == 0 || len > sizeof(buf), "Failed to get APPDATA");
path_user = std::string(buf) + DIR_DELIM + lowercase(PROJECT_NAME);
path_user = std::string(buf) + DIR_DELIM + PROJECT_NAME;
return true;
}
@ -511,7 +511,7 @@ bool setSystemPaths()
trylist.push_back(static_sharedir);
trylist.push_back(bindir + DIR_DELIM ".." DIR_DELIM "share"
DIR_DELIM + lowercase(PROJECT_NAME));
DIR_DELIM + PROJECT_NAME);
trylist.push_back(bindir + DIR_DELIM "..");
#ifdef __ANDROID__
@ -540,7 +540,7 @@ bool setSystemPaths()
#ifndef __ANDROID__
path_user = std::string(getenv("HOME")) + DIR_DELIM "."
+ lowercase(PROJECT_NAME);
+ PROJECT_NAME;
#endif
return true;
@ -565,7 +565,7 @@ bool setSystemPaths()
path_user = std::string(getenv("HOME"))
+ "/Library/Application Support/"
+ lowercase(PROJECT_NAME);
+ PROJECT_NAME;
return true;
}