[Scummvm-cvs-logs] SF.net SVN: scummvm: [22955] scummvm/trunk/backends/PalmOS/Src/be_save.cpp
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Tue Jun 6 20:34:10 CEST 2006
Revision: 22955
Author: chrilith
Date: 2006-06-06 11:34:03 -0700 (Tue, 06 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22955&view=rev
Log Message:
-----------
What's this?\!
Modified Paths:
--------------
scummvm/trunk/backends/PalmOS/Src/be_save.cpp
Modified: scummvm/trunk/backends/PalmOS/Src/be_save.cpp
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/be_save.cpp 2006-06-06 15:43:44 UTC (rev 22954)
+++ scummvm/trunk/backends/PalmOS/Src/be_save.cpp 2006-06-06 18:34:03 UTC (rev 22955)
@@ -102,9 +102,9 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list