diff dwt/internal/image/PngPlteChunk.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 9a64a7781bab
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/internal/image/PngPlteChunk.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/internal/image/PngPlteChunk.d	Mon May 05 00:12:38 2008 +0200
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
  * Copyright (c) 2000, 2006 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
@@ -21,6 +21,7 @@
 import dwt.internal.image.PngIhdrChunk;
 
 import tango.text.convert.Format;
+import dwt.dwthelper.utils;
 
 class PngPlteChunk : PngChunk {
 
@@ -123,7 +124,7 @@
     if (256 < paletteSize) DWT.error(DWT.ERROR_INVALID_IMAGE);
 }
 
-override char[] contributeToString() {
+override String contributeToString() {
     return Format("\n\tPalette size:{}", paletteSize );
 }