[sword-svn] r2624 - trunk/bindings/objc/src

mdbergmann at crosswire.org mdbergmann at crosswire.org
Tue Apr 26 13:09:23 MST 2011


Author: mdbergmann
Date: 2011-04-26 13:09:23 -0700 (Tue, 26 Apr 2011)
New Revision: 2624

Modified:
   trunk/bindings/objc/src/SwordManager.mm
Log:
adaption of ModuleType "All" to modulesForType: method.

Modified: trunk/bindings/objc/src/SwordManager.mm
===================================================================
--- trunk/bindings/objc/src/SwordManager.mm	2011-04-26 19:59:02 UTC (rev 2623)
+++ trunk/bindings/objc/src/SwordManager.mm	2011-04-26 20:09:23 UTC (rev 2624)
@@ -390,7 +390,7 @@
 - (NSArray *)modulesForType:(ModuleType)type {
     NSMutableArray *ret = [NSMutableArray array];
     for(SwordModule *mod in [modules allValues]) {
-        if([mod type] == type) {
+        if([mod type] == type || type == All) {
             [ret addObject:mod];
         }
     }




More information about the sword-cvs mailing list