mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
- removed directsound related references as it has been deprecated since 3.6.0.1
- coverity related fixes
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Glest { namespace Game {
|
||||
string getGameReadWritePath(string lookupKey) {
|
||||
string path = "";
|
||||
if(path == "" && getenv("GLESTHOME") != NULL) {
|
||||
path = getenv("GLESTHOME");
|
||||
path = safeCharPtrCopy(getenv("GLESTHOME"),8096);
|
||||
if(path != "" && EndsWith(path, "/") == false && EndsWith(path, "\\") == false) {
|
||||
path += "/";
|
||||
}
|
||||
|
Reference in New Issue
Block a user