From 09d17315d38054728bc9de1c566cc22223c4d8a3 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Tue, 23 Dec 2014 08:44:45 -0500 Subject: [PATCH] fix HomeResFile stack return --- toolbox/rm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toolbox/rm.cpp b/toolbox/rm.cpp index d419487..0ecfe7f 100644 --- a/toolbox/rm.cpp +++ b/toolbox/rm.cpp @@ -1111,6 +1111,7 @@ namespace RM auto iter = rhandle_map.find(theResource); if (iter == rhandle_map.end()) { + ToolReturn<2>(sp, -1); return SetResError(MacOS::resNotFound); }