Mercurial > mplayer.hg
changeset 35807:b5f83ea354e7
Comment code with no effect.
The expression can never be true
and its intention is unclear.
Reported by Hans-Dieter Kosch, hdkosch kabelbw de.
author | ib |
---|---|
date | Sat, 26 Jan 2013 16:44:34 +0000 |
parents | ea15d7aebf13 |
children | aa7d8771205e |
files | gui/ui/main.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/main.c Sat Jan 26 15:35:10 2013 +0000 +++ b/gui/ui/main.c Sat Jan 26 16:44:34 2013 +0000 @@ -123,7 +123,8 @@ item=&guiApp.mainItems[SelectedItem]; itemtype=item->type; item->pressed=btnPressed; - switch( item->type ) + // NOTE TO MYSELF: commented, because the expression can never be true + /*switch( item->type ) { case itButton: if ( ( SelectedItem > -1 ) && @@ -131,7 +132,7 @@ ( ( item->message == evPauseSwitchToPlay && item->message == evPlaySwitchToPause ) ) ) ) { item->pressed=btnDisabled; } break; - } + }*/ break; case wsRLMouseButton: boxMoved=False;