From bcf80650f33fcb8fda022bde7b7a1e1059069fb5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 23 Dec 2021 21:38:05 +0900 Subject: [PATCH] [ruamoko] Use the right index in disabled code I have no idea why the code is disabled (especially considering the comment), so leaving it that way for now, but this makes the code compile when enabled. --- ruamoko/lib/Array.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruamoko/lib/Array.r b/ruamoko/lib/Array.r index 5fbaa9e56..aa0f82082 100644 --- a/ruamoko/lib/Array.r +++ b/ruamoko/lib/Array.r @@ -323,7 +323,7 @@ cause something else to happen). */ tmp = _objs[--count]; - _objs[i] = nil; + _objs[count] = nil; [tmp release]; } #else