mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 02:01:03 +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
7f4d8050b9
commit
f77bfe6fd7
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-08-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSScanner.m: initialisation fix pointed out by David Ayer
|
||||
* Source/NSBundle.m: fix for getting class from gnustep bundle
|
||||
|
||||
2006-08-16 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* NSCharacterSets/letterCharSet.dat:
|
||||
|
|
|
@ -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…
Reference in a new issue