[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.19,1.20
Travis Howell
kirben at users.sourceforge.net
Sat Nov 2 02:52:03 CET 2002
Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv13502/common
Modified Files:
file.cpp
Log Message:
Added simon sound bugfix, patch #632518
Added fix for simon sound-related crash, patch #632517
Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- file.cpp 22 Oct 2002 23:36:54 -0000 1.19
+++ file.cpp 2 Nov 2002 10:51:32 -0000 1.20
@@ -99,6 +99,9 @@
return false;
}
+ if (filename == NULL || *filename == 0)
+ return false;
+
clearIOFailed();
if (mode == kFileReadMode) {
More information about the Scummvm-git-logs
mailing list