summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/mw.h2
-rw-r--r--Gui/mplayer/play.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h
index f31483bd82..af358d7694 100644
--- a/Gui/mplayer/mw.h
+++ b/Gui/mplayer/mw.h
@@ -147,7 +147,7 @@ void mplMainDraw( wsParamDisplay )
btnModify( evPauseSwitchToPlay,btnDisabled );
break;
case 1:
- if ( strlen( mplShMem->Filename ) )
+ if ( mplShMem->Filename[0] != 0 )
{
btnModify( evPlaySwitchToPause,btnDisabled );
btnModify( evPauseSwitchToPlay,btnReleased );
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 36093bfa45..add645aa37 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -57,7 +57,7 @@ printf("%%%%%% STOP \n");
void mplPlay( void )
{
- if ( !strlen( mplShMem->Filename ) ) return;
+ if ( strlen( mplShMem->Filename ) == 0 ) return;
if ( mplShMem->Playing ) mplStop();
// ---
printf("%%%%%% PLAY \n");