COMMON: Fix logic error in macresman
This commit is contained in:
parent
5c8ac251d7
commit
9874d200c8
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ SeekableReadStream * MacResManager::openFileOrDataFork(const Path &fileName) {
|
|||
}
|
||||
|
||||
SeekableReadStream * MacResManager::openDataForkFromMacBinary(SeekableReadStream *inStream, DisposeAfterUse::Flag disposeAfterUse) {
|
||||
if (!inStream && !isMacBinary(*inStream)) {
|
||||
if (!inStream || !isMacBinary(*inStream)) {
|
||||
return nullptr;
|
||||
}
|
||||
inStream->seek(MBI_DFLEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue