@@ -294,26 +294,28 @@ return hash; } - (OFString*)description { - OFMutableString *ret = [OFMutableString stringWithString: @"["]; + OFMutableString *ret = [OFMutableString stringWithString: @"[\n"]; OFAutoreleasePool *pool; of_list_object_t *iter; pool = [[OFAutoreleasePool alloc] init]; for (iter = firstListObject; iter != NULL; iter = iter->next) { [ret appendString: [iter->object description]]; if (iter->next != NULL) - [ret appendString: @", "]; + [ret appendString: @",\n"]; [pool releaseObjects]; } - [ret appendString: @"]"]; + [ret replaceOccurrencesOfString: @"\n" + withString: @"\n\t"]; + [ret appendString: @"\n]"]; [pool release]; /* * Class swizzle the string to be immutable. We declared the return type