From 09caef3a6a22c7753fdc46615d4bd536563ebcfd Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 27 May 1996 15:00:54 +0000 Subject: [PATCH] (o_hash_description): Instead of @%, use %s and [s cStringNoCopy]. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1553 72102866-910b-0410-8b05-ffd578937521 --- Source/o_hash.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/o_hash.m b/Source/o_hash.m index 2224c2b9f..231b28f20 100644 --- a/Source/o_hash.m +++ b/Source/o_hash.m @@ -1108,15 +1108,15 @@ o_hash_description(o_hash_t *hash) #define DESCRIBE(E) o_describe(callbacks, (E), hash) [string appendFormat:@"element_count = %d;\n", o_hash_count(hash)]; - [string appendFormat:@"not_an_element_marker = %@;\n", - DESCRIBE(o_hash_not_an_element_marker(hash))]; + [string appendFormat:@"not_an_element_marker = %s;\n", + [DESCRIBE(o_hash_not_an_element_marker(hash)) cStringNoCopy]]; [string appendString:@"elements = {\n"]; while (o_hash_enumerator_next_element(&enumerator, &element)) - [string appendFormat:@"%@,\n", DESCRIBE(element)]; + [string appendFormat:@"%s,\n", [DESCRIBE(element) cStringNoCopy]]; - [string appendFormat:@"%@};\n", - DESCRIBE(o_hash_not_an_element_marker(hash))]; + [string appendFormat:@"%s};\n", + [DESCRIBE(o_hash_not_an_element_marker(hash)) cStringNoCopy]]; #undef DESCRIBE