aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2005-09-03 16:12:52 +0000
committerChris Apers2005-09-03 16:12:52 +0000
commitc6c22db6ae8302416d80ae0d3e19549f047e23b3 (patch)
tree5be3ef3dcab2e1859a11c260c3fcc79ff02c26f2
parent1dc00deb561e7eaf8654924fa4698cd9faed8405 (diff)
downloadscummvm-rg350-c6c22db6ae8302416d80ae0d3e19549f047e23b3.tar.gz
scummvm-rg350-c6c22db6ae8302416d80ae0d3e19549f047e23b3.tar.bz2
scummvm-rg350-c6c22db6ae8302416d80ae0d3e19549f047e23b3.zip
Change PalmOS ident
svn-id: r18746
-rw-r--r--common/file.cpp2
-rw-r--r--common/savefile.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 7128796623..9f69324ad7 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -35,7 +35,7 @@ static FILE *fopenNoCase(const char *filename, const char *directory, const char
assert(directory);
strcpy(buf, directory);
-#if !defined(__GP32__) && !defined(__PALM_OS__)
+#if !defined(__GP32__) && !defined(PALMOS_MODE)
// Add a trailing slash, if necessary.
if (buf[0] != 0) {
const int dirLen = strlen(buf);
diff --git a/common/savefile.cpp b/common/savefile.cpp
index b3f888dfe7..193748d25d 100644
--- a/common/savefile.cpp
+++ b/common/savefile.cpp
@@ -35,7 +35,7 @@ namespace Common {
const char *SaveFileManager::getSavePath() const {
-#if defined(__PALM_OS__) || defined(__PSP__)
+#if defined(PALMOS_MODE) || defined(__PSP__)
return SCUMMVM_SAVEPATH;
#else
@@ -161,7 +161,7 @@ static void join_paths(const char *filename, const char *directory,
if (buf[dirLen-1] != ':' && buf[dirLen-1] != '/')
#endif
-#if !defined(__GP32__) && !defined(__PALM_OS__)
+#if !defined(__GP32__) && !defined(PALMOS_MODE)
strncat(buf, "/", bufsize-1); // prevent double /
#endif
}