aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.h
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-01-14 02:44:09 +0000
committerJordi Vilalta Prat2009-01-14 02:44:09 +0000
commitab82db8f867fc51aae1dad004117fdf70b9ce0a5 (patch)
tree18294ae5e25bfdb0be4956beb7b8c608ca63d068 /gui/ThemeEngine.h
parentbe346a6b5f1a02bea8f8079199dddbef9d05b80e (diff)
downloadscummvm-rg350-ab82db8f867fc51aae1dad004117fdf70b9ce0a5.tar.gz
scummvm-rg350-ab82db8f867fc51aae1dad004117fdf70b9ce0a5.tar.bz2
scummvm-rg350-ab82db8f867fc51aae1dad004117fdf70b9ce0a5.zip
Use the current palette size for the theme mouse cursor instead of using the maximum (fixes a valgrind warning)
svn-id: r35857
Diffstat (limited to 'gui/ThemeEngine.h')
-rw-r--r--gui/ThemeEngine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h
index b7b4bfaca6..e770f6bdc7 100644
--- a/gui/ThemeEngine.h
+++ b/gui/ThemeEngine.h
@@ -684,6 +684,7 @@ protected:
bool _needPaletteUpdates;
uint _cursorWidth, _cursorHeight;
byte _cursorPal[4*MAX_CURS_COLORS];
+ byte _cursorPalSize;
};
} // end of namespace GUI.