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:
Jonathan Gapen 2001-03-19 23:53:23 +00:00
parent 6852355af1
commit cb8b09362f
7 changed files with 31 additions and 28 deletions

View file

@ -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