summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mw.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/mw.h')
-rw-r--r--Gui/mplayer/mw.h2
1 files changed, 1 insertions, 1 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 );