Mercurial > mplayer.hg
changeset 32950:394f32247319
Output right message number.
The menu item message number is in menuItems, not mainItems.
author | ib |
---|---|
date | Mon, 07 Mar 2011 13:33:00 +0000 |
parents | ca6dcdb31fa1 |
children | c11e65fcb818 |
files | gui/skin/skin.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;