summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 15:01:53 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-04 15:01:53 +0100
commit8bda6a9a7a3d48613383cf5f3cfb06f27cdbfd10 (patch)
tree3f219e131a63ad4817f8c3df89c57f797cf0c8ae
parentb0e2912d3e5285300d2fd33a9414d3fd4bcc1a75 (diff)
Fix objcl_finalise_class.
darcs-hash:6a392ca2e72987802a85cb77c9376be40a1459b3
-rw-r--r--Objective-C/libobjcl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index eb6bdd6..07c2531 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -935,8 +935,8 @@ objcl_finalise_class (Class class)
TRACE (@"finalise-class: Adding methods.");
if (methods)
{
- method_list = ObjcUtilities_alloc_method_list (method_count);
method_count = [[method_list_lengths objectForKey: class_name] intValue];
+ method_list = ObjcUtilities_alloc_method_list (method_count);
for (i = 0; i < method_count; i++)
{