diff dwt/graphics/ImageData.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents f5482da87ed8
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/graphics/ImageData.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/graphics/ImageData.d	Mon May 05 00:12:38 2008 +0200
@@ -24,6 +24,7 @@
 
 public import dwt.dwthelper.InputStream;
 import dwt.dwthelper.System;
+import dwt.dwthelper.utils;
 
 
 /**
@@ -390,7 +391,7 @@
  *    <li>ERROR_UNSUPPORTED_FORMAT - if the image file contains an unrecognized format</li>
  * </ul>
  */
-public this(char[] filename) {
+public this(String filename) {
     ImageData[] data = ImageDataLoader.load(filename);
     if (data.length < 1) DWT.error(DWT.ERROR_INVALID_IMAGE);
     ImageData i = data[0];