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();
|
status_t error = BStreamingGameSound::StopPlaying();
|
||||||
|
|
||||||
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL))
|
if (fAudioStream == NULL || fAudioStream->stream == NULL)
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|
||||||
// start reading next time from the start of the file
|
// start reading next time from the start of the file
|
||||||
|
@ -461,7 +461,7 @@ BFileGameSound::Init(BDataIO* data)
|
||||||
bool
|
bool
|
||||||
BFileGameSound::Load()
|
BFileGameSound::Load()
|
||||||
{
|
{
|
||||||
if ((fAudioStream == NULL) || (fAudioStream->stream == NULL))
|
if (fAudioStream == NULL || fAudioStream->stream == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// read a new buffer
|
// read a new buffer
|
||||||
|
|
Loading…
Reference in New Issue