# HG changeset patch # User ib # Date 1299504780 0 # Node ID 394f32247319796aa48b00d2997b7e910fd6376a # Parent ca6dcdb31fa1144b3d0c5ea2784715777c9d7d68 Output right message number. The menu item message number is in menuItems, not mainItems. diff -r ca6dcdb31fa1 -r 394f32247319 gui/skin/skin.c --- a/gui/skin/skin.c Sun Mar 06 16:03:15 2011 +0000 +++ b/gui/skin/skin.c Mon Mar 07 13:33:00 2011 +0000 @@ -465,7 +465,7 @@ if ((skin->menuItems[skin->IndexOfMenuItems].message = message) == -1) ERRORMESSAGE(MSGTR_SKIN_BITMAP_UnknownMessage, tmp); - mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] message: %d\n", skin->mainItems[skin->IndexOfMainItems].message); + mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] message: %d\n", skin->menuItems[skin->IndexOfMenuItems].message); skin->menuItems[skin->IndexOfMenuItems].Bitmap.Image = NULL; return 0;