diff options
author | Chris Apers | 2006-06-06 18:34:03 +0000 |
---|---|---|
committer | Chris Apers | 2006-06-06 18:34:03 +0000 |
commit | 318770280c22788f866b0228b1e6a68f7d1913db (patch) | |
tree | 3f8c3699a8e8b06993e20f443e103304cfdc1fff | |
parent | bf86b9b022186f8530a3430f6549c4f00350f12c (diff) | |
download | scummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.tar.gz scummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.tar.bz2 scummvm-rg350-318770280c22788f866b0228b1e6a68f7d1913db.zip |
What's this?\!
svn-id: r22955
-rw-r--r-- | backends/PalmOS/Src/be_save.cpp | 6 |
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); } |