changeset 34425:c34052f0594d

Remove #ifdef MP_DEBUG. Additionally, revise a message.
author ib
date Thu, 05 Jan 2012 14:40:36 +0000
parents 7f04823f744c
children 708adcb40b58
files gui/ui/menu.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/menu.c	Thu Jan 05 14:26:21 2012 +0000
+++ b/gui/ui/menu.c	Thu Jan 05 14:40:36 2012 +0000
@@ -151,9 +151,7 @@
 
  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 @@
 
  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;