mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 04:02:06 +00:00
hm. optim
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1778 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
736cda28b8
commit
a02f6a7b0e
@ -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 );
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user