From 5af9b7809ffa1ec1f9137daf3c22600e7a66cc1e Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 24 Mar 2010 19:28:29 -0300 Subject: [PATCH] Fixed bug clearing tool icons. --- src/modules/skinneable_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/skinneable_theme.cpp b/src/modules/skinneable_theme.cpp index 76d0e200a..a9e16d47c 100644 --- a/src/modules/skinneable_theme.cpp +++ b/src/modules/skinneable_theme.cpp @@ -453,7 +453,7 @@ void SkinneableTheme::regen() // Crop the tool-icon from the sheet BITMAP* toolicon = create_bitmap(w, h); - clear_to_color(toolicon, bitmap_mask_color(m_sheet_bmp)); + clear_to_color(toolicon, bitmap_mask_color(toolicon)); set_alpha_blender(); draw_trans_sprite(toolicon, m_sheet_bmp, -x, -y);