[MPlayer-cvslog] r33037 - trunk/gui/skin/skin.c

ib subversion at mplayerhq.hu
Mon Mar 7 14:33:01 CET 2011


Author: ib
Date: Mon Mar  7 14:33:00 2011
New Revision: 33037

Log:
Output right message number.

The menu item message number is in menuItems, not mainItems.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Sun Mar  6 17:03:15 2011	(r33036)
+++ trunk/gui/skin/skin.c	Mon Mar  7 14:33:00 2011	(r33037)
@@ -465,7 +465,7 @@ static int cmd_menu(char *in)
     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;


More information about the MPlayer-cvslog mailing list