mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23327 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
012fdd0048
commit
caa74e2108
2 changed files with 9 additions and 2 deletions
|
@ -1265,8 +1265,10 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
if (self == _mainBundle || self == _gnustep_bundle)
|
||||
{
|
||||
theClass = NSClassFromString(className);
|
||||
if (theClass && [[self class] bundleForClass:theClass] != _mainBundle)
|
||||
theClass = Nil;
|
||||
if (theClass && [[self class] bundleForClass: theClass] != self)
|
||||
{
|
||||
theClass = Nil;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue