[MPlayer-cvslog] r34513 - trunk/gui/ui/menu.c

ib subversion at mplayerhq.hu
Thu Jan 5 15:40:37 CET 2012


Author: ib
Date: Thu Jan  5 15:40:36 2012
New Revision: 34513

Log:
Remove #ifdef MP_DEBUG.

Additionally, revise a message.

Modified:
   trunk/gui/ui/menu.c

Modified: trunk/gui/ui/menu.c
==============================================================================
--- trunk/gui/ui/menu.c	Thu Jan  5 15:26:21 2012	(r34512)
+++ trunk/gui/ui/menu.c	Thu Jan  5 15:40:36 2012	(r34513)
@@ -151,9 +151,7 @@ void uiMenuInit( void )
 
  if ( ( menuDrawBuffer = calloc( 1,guiApp.menu.Bitmap.ImageSize ) ) == NULL )
   {
-#ifdef DEBUG
     mp_msg( MSGT_GPLAYER,MSGL_DBG2,MSGTR_NEMFMR );
-#endif
    gtkMessageBox( GTK_MB_FATAL,MSGTR_NEMFMR );
    return;
   }
@@ -164,9 +162,7 @@ void uiMenuInit( void )
 
  wsSetShape( &guiApp.menuWindow,guiApp.menu.Mask.Image );
 
-#ifdef DEBUG
-  mp_msg( MSGT_GPLAYER,MSGL_DBG2,"menu: 0x%x\n",(int)guiApp.menuWindow.WindowID );
-#endif
+ mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[menu] menuWindow ID: 0x%x\n",(int)guiApp.menuWindow.WindowID );
 
  menuIsInitialized=1;
  guiApp.menuWindow.ReDraw=uiMenuDraw;


More information about the MPlayer-cvslog mailing list