Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..
PR: 8280 (2/3 patches contained in this PR) Submitted by: Sakari Jalovaara <sja@tekla.fi>
This commit is contained in:
parent
4c6844ea51
commit
aa0d9efc2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41508
@ -213,7 +213,7 @@ static int matcd_pause(int ldrive, int cdrive, int controller, int action)
|
||||
} /*<14>*/
|
||||
unlockbus(controller, ldrive); /*<16>Release bus*/
|
||||
|
||||
if (z & MATCD_ST_AUDIOBSY==0 && /*<14>If drive is idle*/
|
||||
if ((z & MATCD_ST_AUDIOBSY) == 0 && /*<14>If drive is idle*/
|
||||
cd->status==CD_AS_PLAY_IN_PROGRESS) { /*<14>but was playing*/
|
||||
cd->status=CD_AS_PLAY_COMPLETED; /*<14>then its done*/
|
||||
return(0);
|
||||
|
Loading…
Reference in New Issue
Block a user