aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS
diff options
context:
space:
mode:
authorChris Apers2006-06-06 18:34:03 +0000
committerChris Apers2006-06-06 18:34:03 +0000
commit318770280c22788f866b0228b1e6a68f7d1913db (patch)
tree3f8c3699a8e8b06993e20f443e103304cfdc1fff /backends/PalmOS
parentbf86b9b022186f8530a3430f6549c4f00350f12c (diff)
downloadscummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.tar.gz
scummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.tar.bz2
scummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.zip
What's this?\!
svn-id: r22955
Diffstat (limited to 'backends/PalmOS')
-rw-r--r--backends/PalmOS/Src/be_save.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/be_save.cpp b/backends/PalmOS/Src/be_save.cpp
index f905a1a522..a96770f437 100644
--- a/backends/PalmOS/Src/be_save.cpp
+++ b/backends/PalmOS/Src/be_save.cpp
@@ -102,9 +102,9 @@ protected:
Common::SaveFile *PalmSaveFileManager::openSavefile(const char *filename, bool saveOrLoad) {
char buf[256];
- strncpy(buf, getSavePath(), sizeof(buf));
- strncat(buf, "/", 1);
- strncat(buf, filename, sizeof(buf));
+ strcpy(buf, getSavePath());
+ strcat(buf, "/");
+ strcat(buf, filename);
return makeSaveFile(buf, saveOrLoad);
}