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
|
@ -303,8 +303,8 @@ NSHashInsertKnownAbsent(NSHashTable *table, const void *element)
|
|||
* information. Not difficult to do, just something for a later
|
||||
* date. */
|
||||
[NSException raise:NSInvalidArgumentException
|
||||
format:@"NSHashTable: illegal reinsertion of: %s",
|
||||
[NSHT_DESCRIBE(table, element) cString]];
|
||||
format:@"NSHashTable: illegal reinsertion of: %@",
|
||||
NSHT_DESCRIBE(table, element)];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -357,8 +357,7 @@ NSStringFromHashTable(NSHashTable *table)
|
|||
/* Iterate over the elements of TABLE, appending the description of
|
||||
* each to the mutable string STRING. */
|
||||
while ((pointer = NSNextHashEnumeratorItem(&enumerator)) != 0)
|
||||
[string appendFormat:@"%s;\n",
|
||||
[NSHT_DESCRIBE(table, pointer) cString]];
|
||||
[string appendFormat:@"%@;\n", NSHT_DESCRIBE(table, pointer)];
|
||||
|
||||
/* STRING is already autoreleased. */
|
||||
return (NSString *) string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue