mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSBundle.m: Correct issue where *-gnustep.* is not
searched for when explicitly calling pathForResource:... git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6337d986c6
commit
e7454ec280
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-07 16:33-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSBundle.m: Correct issue where *-gnustep.* is not
|
||||
searched for when explicitly calling pathForResource:...
|
||||
|
||||
2009-01-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure:
|
||||
|
|
|
@ -1692,7 +1692,14 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
}
|
||||
else
|
||||
{
|
||||
fullpath = nil;
|
||||
NSString* platpath;
|
||||
platpath = [path stringByAppendingPathComponent:
|
||||
[NSString stringWithFormat: @"%@-gnustep.%@",
|
||||
name, ext]];
|
||||
if (bundle_file_readable(platpath))
|
||||
fullpath = platpath;
|
||||
else
|
||||
fullpath = nil;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue