changeset 177:5e10b057a923

Fix toString message
author Frank Benoit <benoit@tionex.de>
date Sun, 02 Mar 2008 18:09:32 +0100
parents 1fe0f5bb0ba2
children 285aa0c31277
files dwt/graphics/Point.d dwt/graphics/Rectangle.d
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/graphics/Point.d	Sun Mar 02 18:09:13 2008 +0100
+++ b/dwt/graphics/Point.d	Sun Mar 02 18:09:32 2008 +0100
@@ -105,7 +105,7 @@
  * @return a string representation of the point
  */
 public override char[] toString () {
-    return Format( "Point {}, {}}", x, y );; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+    return Format( "Point {{{}, {}}", x, y );; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
 }
 
 }
--- a/dwt/graphics/Rectangle.d	Sun Mar 02 18:09:13 2008 +0100
+++ b/dwt/graphics/Rectangle.d	Sun Mar 02 18:09:32 2008 +0100
@@ -314,7 +314,7 @@
  * @return a string representation of the rectangle
  */
 public override char[] toString () {
-    return Format( "Rectangle {}, {}, {}, {}}", x, y, width, height ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+    return Format( "Rectangle {{{}, {}, {}, {}}", x, y, width, height ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
 }
 
 /**