mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1edd85f95f
commit
c2ed783573
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-13 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSBundle.m (_bundle_name_first_match): Remove path
|
||||
extension when comparing name (fixes #10611)
|
||||
|
||||
2004-10-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSXML.m: Fix bug escaping XML special chartacters.
|
||||
|
|
|
@ -211,7 +211,7 @@ _bundle_name_first_match(NSString* directory, NSString* name)
|
|||
/* name might have a directory in it also, so account for this */
|
||||
path = [[directory stringByAppendingPathComponent: name]
|
||||
stringByDeletingLastPathComponent];
|
||||
cleanname = [name lastPathComponent];
|
||||
cleanname = [[name lastPathComponent] stringByDeletingPathExtension];
|
||||
filelist = [[mgr directoryContentsAtPath: path] objectEnumerator];
|
||||
while ((match = [filelist nextObject]))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue