# HG changeset patch # User Frank Benoit # Date 1204477772 -3600 # Node ID 5e10b057a92380c460d7119dc8c8c12fc32804be # Parent 1fe0f5bb0ba2b0a704e40fd7d2d818ba9b55c1b1 Fix toString message diff -r 1fe0f5bb0ba2 -r 5e10b057a923 dwt/graphics/Point.d --- 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$ } } diff -r 1fe0f5bb0ba2 -r 5e10b057a923 dwt/graphics/Rectangle.d --- 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$ } /**