mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([NSCharacterSet +_bitmapForSet:number:]): Revert last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2291 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
147720cc3a
commit
4bbcf235d0
1 changed files with 5 additions and 7 deletions
|
@ -63,7 +63,6 @@ static NSLock* cache_lock = nil;
|
|||
{
|
||||
NSCharacterSet* set;
|
||||
NSString *path;
|
||||
id csb;
|
||||
|
||||
if (!cache_lock)
|
||||
cache_lock = [NSLock new];
|
||||
|
@ -71,16 +70,15 @@ static NSLock* cache_lock = nil;
|
|||
|
||||
set = nil; /* Quiet warnings */
|
||||
if (cache_set[number] == nil)
|
||||
NS_DURING {
|
||||
csb = [NSBundle bundleWithPath:NSCharacterSet_PATH];
|
||||
path = [csb pathForResource:setname
|
||||
{
|
||||
NS_DURING
|
||||
path = [NSBundle pathForResource:setname
|
||||
ofType:@"dat"
|
||||
inDirectory:NSCharacterSet_PATH];
|
||||
/* This is for testing purposes */
|
||||
if (path == nil || [path length] == 0)
|
||||
}
|
||||
csb = [NSBundle bundleWithPath:@"../NSCharacterSets"];
|
||||
path = [csb pathForResource:setname
|
||||
{
|
||||
path = [NSBundle pathForResource:setname
|
||||
ofType:@"dat"
|
||||
inDirectory:@"../NSCharacterSets"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue