mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-28 08:49:20 +00:00
fix HomeResFile stack return
This commit is contained in:
parent
e377025e48
commit
09d17315d3
@ -1111,6 +1111,7 @@ namespace RM
|
|||||||
auto iter = rhandle_map.find(theResource);
|
auto iter = rhandle_map.find(theResource);
|
||||||
if (iter == rhandle_map.end())
|
if (iter == rhandle_map.end())
|
||||||
{
|
{
|
||||||
|
ToolReturn<2>(sp, -1);
|
||||||
return SetResError(MacOS::resNotFound);
|
return SetResError(MacOS::resNotFound);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user