diff options
author | Jordi Vilalta Prat | 2009-01-14 02:44:09 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-01-14 02:44:09 +0000 |
commit | ab82db8f867fc51aae1dad004117fdf70b9ce0a5 (patch) | |
tree | 18294ae5e25bfdb0be4956beb7b8c608ca63d068 /gui/ThemeEngine.h | |
parent | be346a6b5f1a02bea8f8079199dddbef9d05b80e (diff) | |
download | scummvm-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.h | 1 |
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. |