From ab82db8f867fc51aae1dad004117fdf70b9ce0a5 Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Wed, 14 Jan 2009 02:44:09 +0000 Subject: Use the current palette size for the theme mouse cursor instead of using the maximum (fixes a valgrind warning) svn-id: r35857 --- gui/ThemeEngine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/ThemeEngine.h') 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. -- cgit v1.2.3