Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CopyGemDataPath: indented preprocessor directives for readability

  • Loading branch information...
commit 6db0218c58d6ea1f5ac37a1743d6f88c067c9580 1 parent 28169a5
@lynxlynxlynx lynxlynxlynx authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 gemrb/core/System/VFS.cpp
View
12 gemrb/core/System/VFS.cpp
@@ -466,27 +466,27 @@ GEM_EXPORT char* CopyGemDataPath(char* outPath, ieWord maxLen)
#ifdef DATA_DIR
strlcpy(outPath, DATA_DIR, maxLen);
#else
-#ifdef __APPLE__
+ #ifdef __APPLE__
CopyBundlePath(outPath, maxLen, RESOURCES);
-#else
+ #else
// check $GEM_DATA env. note that Android wrapper sets this.
char* dataDir = getenv("GEM_DATA");
if (dataDir) {
strlcpy(outPath, dataDir, maxLen);
} else {
if (!CopyHomePath(outPath, maxLen)) {
-#ifdef WIN32
+ #ifdef WIN32
strlcpy(outPath, ".\\", maxLen);
} else {
PathAppend(outPath, PACKAGE);
-#else
+ #else
strlcpy(outPath, "./", maxLen);
} else {
PathAppend(outPath, "."PACKAGE);
-#endif
+ #endif
}
}
-#endif
+ #endif
#endif
return outPath;
}
Please sign in to comment.
Something went wrong with that request. Please try again.