diff dwt/layout/FormAttachment.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 bcdc37794717
children fd9c62a2998e
line wrap: on
line diff
--- a/dwt/layout/FormAttachment.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/layout/FormAttachment.d	Mon May 05 00:12:38 2008 +0200
@@ -18,6 +18,7 @@
 import dwt.layout.FormData;
 
 import tango.text.convert.Format;
+import dwt.dwthelper.utils;
 
 /**
  * Instances of this class are used to define the edges of a control
@@ -298,8 +299,8 @@
  *
  * @return a string representation of the FormAttachment
  */
-public override char[] toString () {
-    char[] string = control !is null ? control.toString () : Format( "{}/{}", numerator, denominator );
+public override String toString () {
+    String string = control !is null ? control.toString () : Format( "{}/{}", numerator, denominator );
     return Format("{{y = ({})x + {}}", string, ( offset >= 0 ? Format(")x + {}", offset ) : Format( ")x - {}", -offset)));
 }