Fix NSLog NSDictionary memory flood.

when indent equal to 0, NSLog NSDictionary will make a memory flood while (i < indent -1) always be true.