[Scummvm-cvs-logs] scummvm master -> e9189b57b3133f603314799d663c0e96231477f8

Strangerke Strangerke at scummvm.org
Tue Mar 11 07:54:30 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e9189b57b3 CGE: Get rid of a magic value in file seek


Commit: e9189b57b3133f603314799d663c0e96231477f8
    https://github.com/scummvm/scummvm/commit/e9189b57b3133f603314799d663c0e96231477f8
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-11T07:52:46+01:00

Commit Message:
CGE: Get rid of a magic value in file seek

Changed paths:
    engines/cge/fileio.h



diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h
index 77404fb..059d2c9 100644
--- a/engines/cge/fileio.h
+++ b/engines/cge/fileio.h
@@ -92,7 +92,7 @@ public:
 	ResourceManager();
 	~ResourceManager();
 	uint16 read(byte *buf, uint16 length);
-	bool seek(int32 offs, int whence = 0);
+	bool seek(int32 offs, int whence = SEEK_SET);
 
 	BtKeypack *find(const char *key);
 	bool exist(const char *name);






More information about the Scummvm-git-logs mailing list