Fix HostVolume::OpenFork return code

This commit is contained in:
Iliyas Jorio 2020-12-29 22:25:54 +01:00
parent a3d0a3f16a
commit 813523dc49
1 changed files with 1 additions and 2 deletions

View File

@ -136,7 +136,6 @@ OSErr HostVolume::OpenFork(const FSSpec* spec, ForkType forkType, char permissio
return fnfErr;
}
handle = std::make_unique<HostForkHandle>(DataFork, permission, path, *spec);
return noErr;
}
else
{
@ -150,7 +149,7 @@ OSErr HostVolume::OpenFork(const FSSpec* spec, ForkType forkType, char permissio
ADFJumpToResourceFork(handle->GetStream());
}
return fnfErr;
return noErr;
}
static bool CaseInsensitiveAppendToPath(