Mercurial > projects > dwt-linux
diff dwt/internal/image/PngChunk.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 08789b28bdf3 |
children |
line wrap: on
line diff
--- a/dwt/internal/image/PngChunk.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/internal/image/PngChunk.d Mon May 05 00:42:55 2008 +0200 @@ -364,7 +364,7 @@ * Provided so that subclasses can override and add * data to the toString() call. */ -char[] contributeToString() { +String contributeToString() { return ""; } @@ -374,10 +374,10 @@ * * @return a string representation of the event */ -public override char[] toString() { - char[] buffer = Format( "{\n\tLength: {}\n\tType: {}{}\n\tCRC: {:X}\n}", +public override String toString() { + String buffer = Format( "{\n\tLength: {}\n\tType: {}{}\n\tCRC: {:X}\n}", getLength(), - cast(char[]) getTypeBytes(), + cast(String) getTypeBytes(), contributeToString(), getCRC()); return buffer;