+2004-11-17 Matthew Joyce <mjoyce@aboveit.nl>
+
+ * NGBundleManager.m: check whether bundle is nil prior running a type
+ check (v4.5.130)
+
2004-11-13 Helge Hess <helge.hess@opengroupware.org>
* NGBundleManager.m: some code cleanups (v4.5.129)
bn = [_name stringByAppendingPathExtension:_type];
bundle = NSMapGet(self->nameToBundle, bn);
- if (bundle == nil)
- bundle = [self bundleWithPath:[self pathForBundleWithName:_name type:_type]];
-
- if (![[bundle bundleType] isEqualToString:_type])
+ if (bundle == nil) {
+ bundle = [self bundleWithPath:
+ [self pathForBundleWithName:_name type:_type]];
+ }
+
+ if (bundle != nil && ![[bundle bundleType] isEqualToString:_type])
bundle = nil;
-
+
return bundle;
}
- (NSBundle *)bundleWithName:(NSString *)_name {
# version
-SUBMINOR_VERSION:=129
+SUBMINOR_VERSION:=130
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39