FileGameSound: remove superfluous parentheses.
Pointed out by Axel on haiku-commits.
This commit is contained in:
parent
f2ad50f6a2
commit
baa739985b
|
@ -218,7 +218,7 @@ BFileGameSound::StopPlaying()
|
|||
{
|
||||
status_t error = BStreamingGameSound::StopPlaying();
|
||||
|
||||
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL))
|
||||
if (fAudioStream == NULL || fAudioStream->stream == NULL)
|
||||
return B_OK;
|
||||
|
||||
// start reading next time from the start of the file
|
||||
|
@ -461,7 +461,7 @@ BFileGameSound::Init(BDataIO* data)
|
|||
bool
|
||||
BFileGameSound::Load()
|
||||
{
|
||||
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL))
|
||||
if (fAudioStream == NULL || fAudioStream->stream == NULL)
|
||||
return false;
|
||||
|
||||
// read a new buffer
|
||||
|
|
Loading…
Reference in New Issue