[Scummvm-cvs-logs] CVS: scummvm/common savefile.h,1.3,1.4
Max Horn
fingolfin at users.sourceforge.net
Wed May 21 10:01:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv10584
Modified Files:
savefile.h
Log Message:
more pedantic changes
Index: savefile.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/savefile.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- savefile.h 30 Apr 2003 12:43:55 -0000 1.3
+++ savefile.h 21 May 2003 17:00:00 -0000 1.4
@@ -73,22 +73,18 @@
public:
virtual ~SaveFileManager() {}
- virtual SaveFile *open_savefile(const char *filename,
- bool saveOrLoad)
- {
+ virtual SaveFile *open_savefile(const char *filename, bool saveOrLoad) {
StdioSaveFile *sf = new StdioSaveFile(filename,
(saveOrLoad? "wb":"rb"));
- if(!sf->is_open()) {
+ if (!sf->is_open()) {
delete sf;
sf = NULL;
}
return sf;
}
- virtual void list_savefiles(const char *prefix,
- bool *marks, int num)
- {
- memset(marks, true, num*sizeof(bool));
+ virtual void list_savefiles(const char * /* prefix */, bool *marks, int num) {
+ memset(marks, true, num * sizeof(bool));
}
};
More information about the Scummvm-git-logs
mailing list