Mercurial > projects > dwt-linux
diff dwt/graphics/Image.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 997624cece6a |
children | ce446666f5a2 |
line wrap: on
line diff
--- a/dwt/graphics/Image.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/graphics/Image.d Mon May 05 00:42:55 2008 +0200 @@ -548,7 +548,7 @@ * <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> * </ul> */ -public this(Device device, char[] filename) { +public this(Device device, String filename) { if (device is null) device = Device.getDevice(); if (device is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); if (filename is null) DWT.error(DWT.ERROR_NULL_ARGUMENT); @@ -1191,7 +1191,7 @@ * * @return a string representation of the receiver */ -public override char[] toString () { +public override String toString () { if (isDisposed()) return "Image {*DISPOSED*}"; return Format( "Image {{{}}", pixmap); }