changeset 34416:b3837500181a

Remove #ifdef MP_DEBUG. Change mp_msg() level to MSGL_DBG2 instead. Additionally, revise messages.
author ib
date Thu, 05 Jan 2012 11:39:27 +0000
parents 55ff5df09657
children 1745c2a7a628
files gui/ui/main.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/main.c	Wed Jan 04 22:08:36 2012 +0000
+++ b/gui/ui/main.c	Thu Jan 05 11:39:27 2012 +0000
@@ -423,14 +423,12 @@
 	wsPostRedisplay( &guiApp.playbarWindow );
         break;
 // --- system events
-#ifdef MP_DEBUG
    case evNone:
-        mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[mw] event none received.\n" );
+        mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[main] uiEventHandling: evNone\n" );
         break;
    default:
-        mp_msg( MSGT_GPLAYER,MSGL_STATUS,"[mw] unknown event received ( %d,%.2f ).\n",msg,param );
+        mp_msg( MSGT_GPLAYER,MSGL_DBG2,"[main] uiEventHandling: unknown event %d, param %.2f\n", msg, param );
         break;
-#endif
   }
 }