mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
String usage updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6852355af1
commit
cb8b09362f
7 changed files with 31 additions and 28 deletions
|
@ -124,8 +124,7 @@ static NSLock* cache_lock = nil;
|
|||
set = [self characterSetWithBitmapRepresentation:
|
||||
[NSData dataWithContentsOfFile: user_path]];
|
||||
NS_HANDLER
|
||||
NSLog(@"Unable to read NSCharacterSet file %s",
|
||||
[user_path cString]);
|
||||
NSLog(@"Unable to read NSCharacterSet file %@", user_path);
|
||||
set = nil;
|
||||
NS_ENDHANDLER
|
||||
}
|
||||
|
@ -138,8 +137,7 @@ static NSLock* cache_lock = nil;
|
|||
set = [self characterSetWithBitmapRepresentation:
|
||||
[NSData dataWithContentsOfFile: local_path]];
|
||||
NS_HANDLER
|
||||
NSLog(@"Unable to read NSCharacterSet file %s",
|
||||
[local_path cString]);
|
||||
NSLog(@"Unable to read NSCharacterSet file %@", local_path);
|
||||
set = nil;
|
||||
NS_ENDHANDLER
|
||||
}
|
||||
|
@ -152,8 +150,7 @@ static NSLock* cache_lock = nil;
|
|||
set = [self characterSetWithBitmapRepresentation:
|
||||
[NSData dataWithContentsOfFile: system_path]];
|
||||
NS_HANDLER
|
||||
NSLog(@"Unable to read NSCharacterSet file %s",
|
||||
[system_path cString]);
|
||||
NSLog(@"Unable to read NSCharacterSet file %@", system_path);
|
||||
set = nil;
|
||||
NS_ENDHANDLER
|
||||
}
|
||||
|
@ -162,8 +159,7 @@ static NSLock* cache_lock = nil;
|
|||
if (!set)
|
||||
{
|
||||
[NSException raise: NSGenericException
|
||||
format: @"Could not find bitmap file %s",
|
||||
[setname cString]];
|
||||
format: @"Could not find bitmap file %@", setname];
|
||||
/* NOT REACHED */
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue