From 154c589f188914e79ba10da1de947a5ae2c0427e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 4 Aug 2010 08:23:48 +0000 Subject: GRAPHICS: Fix FlicDecoder::hasDirtyPalette signature Add const qualifier to FlicDecoder::hasDirtyPalette to make it match that if VideoDecoder::hasDirtyPalette. svn-id: r51724 --- graphics/video/flic_decoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/video') diff --git a/graphics/video/flic_decoder.h b/graphics/video/flic_decoder.h index 60f4e3472c..249d3ba4bc 100644 --- a/graphics/video/flic_decoder.h +++ b/graphics/video/flic_decoder.h @@ -72,7 +72,7 @@ public: void copyDirtyRectsToBuffer(uint8 *dst, uint pitch); byte *getPalette() { _paletteChanged = false; return _palette; } - bool hasDirtyPalette() { return _paletteChanged; } + bool hasDirtyPalette() const { return _paletteChanged; } void reset(); protected: -- cgit v1.2.3