@@ -703,11 +703,11 @@ return hash; } - (OFString*)description { - OFMutableString *ret = [OFMutableString stringWithString: @"{"]; + OFMutableString *ret = [OFMutableString stringWithString: @"{\n"]; OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init], *pool2; OFEnumerator *enumerator = [self keyEnumerator]; id key; size_t i; @@ -718,15 +718,17 @@ [ret appendString: [key description]]; [ret appendString: @" = "]; [ret appendString: [[self objectForKey: key] description]]; if (++i < count) - [ret appendString: @"; "]; + [ret appendString: @";\n"]; [pool2 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