mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fixed scoping of a conditional
This commit is contained in:
parent
2ec8fb49d7
commit
267cfb8966
1 changed files with 5 additions and 3 deletions
|
|
@ -1385,10 +1385,12 @@ public:
|
|||
FUnknownPtr<IBStream> stateRefHolder (state); // just in case the caller hasn't properly ref-counted the stream object
|
||||
|
||||
if (state->seek (0, IBStream::kIBSeekSet, nullptr) == kResultTrue)
|
||||
if (getHostType().isFruityLoops())
|
||||
return readFromUnknownStream (state) ? kResultTrue : kResultFalse;
|
||||
if (readFromMemoryStream (state) || readFromUnknownStream (state))
|
||||
{
|
||||
if (! getHostType().isFruityLoops() && readFromMemoryStream (state))
|
||||
return kResultTrue;
|
||||
if (readFromUnknownStream (state))
|
||||
return kResultTrue;
|
||||
}
|
||||
|
||||
return kResultFalse;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue