[Scummvm-cvs-logs] SF.net SVN: scummvm:[51724] scummvm/trunk/graphics/video/flic_decoder.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Aug 4 10:23:50 CEST 2010


Revision: 51724
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51724&view=rev
Author:   fingolfin
Date:     2010-08-04 08:23:48 +0000 (Wed, 04 Aug 2010)

Log Message:
-----------
GRAPHICS: Fix FlicDecoder::hasDirtyPalette signature

Add const qualifier to FlicDecoder::hasDirtyPalette to make it
match that if VideoDecoder::hasDirtyPalette.

Modified Paths:
--------------
    scummvm/trunk/graphics/video/flic_decoder.h

Modified: scummvm/trunk/graphics/video/flic_decoder.h
===================================================================
--- scummvm/trunk/graphics/video/flic_decoder.h	2010-08-04 05:15:01 UTC (rev 51723)
+++ scummvm/trunk/graphics/video/flic_decoder.h	2010-08-04 08:23:48 UTC (rev 51724)
@@ -72,7 +72,7 @@
 	void copyDirtyRectsToBuffer(uint8 *dst, uint pitch);
 
 	byte *getPalette() { _paletteChanged = false; return _palette; }
-	bool hasDirtyPalette() { return _paletteChanged; }
+	bool hasDirtyPalette() const { return _paletteChanged; }
 	void reset();
 
 protected:


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