diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 16:49:46 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-30 16:49:46 +0000 |
commit | a02f6a7b0e906255c71784f481c87e0a7680e239 (patch) | |
tree | cefe6d6982f9508a3c1f61a5f083eb9e4e27cc78 /Gui/mplayer | |
parent | 736cda28b872ce0969fc28769ea05a53cfe9d472 (diff) | |
download | mpv-a02f6a7b0e906255c71784f481c87e0a7680e239.tar.bz2 mpv-a02f6a7b0e906255c71784f481c87e0a7680e239.tar.xz |
hm. optim
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1778 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r-- | Gui/mplayer/mw.h | 2 | ||||
-rw-r--r-- | Gui/mplayer/play.c | 2 |
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"); |