[Scummvm-cvs-logs] CVS: scummvm/common savefile.cpp,1.17,1.18
Andrew Kurushin
h00ligan at users.sourceforge.net
Sat Apr 16 10:05:10 CEST 2005
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29135
Modified Files:
savefile.cpp
Log Message:
vc compile warn
Index: savefile.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/savefile.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- savefile.cpp 13 Apr 2005 18:36:54 -0000 1.17
+++ savefile.cpp 16 Apr 2005 17:04:03 -0000 1.18
@@ -73,8 +73,8 @@
::fclose(fh);
}
- bool readingFailed() const { return ferror(fh); }
- bool writingFailed() const { return ferror(fh); }
+ bool readingFailed() const { return ferror(fh) != 0; }
+ bool writingFailed() const { return ferror(fh) != 0; }
bool isOpen() const { return fh != 0; }
uint32 read(void *buf, uint32 cnt) {
More information about the Scummvm-git-logs
mailing list