From dfeb559f2cc7f988f949ca6d7ad00c644b7dc558 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 1 Dec 2009 16:09:26 +0000 Subject: [PATCH] Monotone-Parent: 414331b3d93099684c2e6e7090ac0288bea4452f Monotone-Revision: 86abac1beb24693e78f5aa2ceb2f3e3d1dea07b9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-01T16:09:26 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoDefaultsSource.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SoObjects/SOGo/SOGoDefaultsSource.m b/SoObjects/SOGo/SOGoDefaultsSource.m index bbc69e392..e9d9f1035 100644 --- a/SoObjects/SOGo/SOGoDefaultsSource.m +++ b/SoObjects/SOGo/SOGoDefaultsSource.m @@ -296,6 +296,7 @@ static Class NSStringKlass = Nil; int count, max; stringArray = [self arrayForKey: key]; + max = [stringArray count]; for (count = 0; stringArray && count < max; count++) if (![[stringArray objectAtIndex: count] isKindOfClass: NSStringKlass]) {