summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index add645aa37..8a64e2db3a 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 ) == 0 ) return;
+ if ( mplShMem->Filename[0] == 0 ) return;
if ( mplShMem->Playing ) mplStop();
// ---
printf("%%%%%% PLAY \n");