[MPlayer-cvslog] r37635 - trunk/gui/ui/playbar.c

ib subversion at mplayerhq.hu
Tue Feb 9 14:17:38 CET 2016


Author: ib
Date: Tue Feb  9 14:17:37 2016
New Revision: 37635

Log:
Comment code with no effect.

The expression can never be true
and its intention is unclear.

Modified:
   trunk/gui/ui/playbar.c

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Tue Feb  9 14:03:08 2016	(r37634)
+++ trunk/gui/ui/playbar.c	Tue Feb  9 14:17:37 2016	(r37635)
@@ -160,12 +160,13 @@ static void uiPlaybarMouse( int Button,
 
         switch( item->type )
          {
-          case itButton:
+          // NOTE TO MYSELF: commented, because the expression can never be true
+          /*case itButton:
                if ( ( SelectedItem > -1 ) &&
                  ( ( ( item->message == evPlaySwitchToPause && item->message == evPauseSwitchToPlay ) ) ||
                  ( ( item->message == evPauseSwitchToPlay && item->message == evPlaySwitchToPause ) ) ) )
                  { item->pressed=btnDisabled; }
-               break;
+               break;*/
           case itRPotmeter:
                prev_point=appRadian( item, X - item->x, Y - item->y ) - item->zeropoint;
                if ( prev_point < 0.0 ) prev_point+=2*M_PI;


More information about the MPlayer-cvslog mailing list