changeset 124:980dbedc42d4

Fix: formating of dialog text.
author Frank Benoit <benoit@tionex.de>
date Sat, 16 Aug 2008 22:31:55 +0200
parents ddeafd007ce4
children 00f8787f4742
files dwtx/jface/dialogs/ErrorDialog.d
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dwtx/jface/dialogs/ErrorDialog.d	Sat Aug 16 13:24:47 2008 +0200
+++ b/dwtx/jface/dialogs/ErrorDialog.d	Sat Aug 16 22:31:55 2008 +0200
@@ -143,7 +143,7 @@
         this.message = message is null ? status.getMessage()
                 : JFaceResources
                         .format(
-                                "Reason", [ message, status.getMessage() ]); //$NON-NLS-1$
+                                "Reason", message, status.getMessage() ); //$NON-NLS-1$
         this.status = status;
         this.displayMask = displayMask;
     }
@@ -231,7 +231,7 @@
      * and lays out a composite. Subclasses that require a different dialog area
      * may either override this method, or call the <code>super</code>
      * implementation and add controls to the created composite.
-     * 
+     *
      * Note:  Since 3.4, the created composite no longer grabs excess vertical space.
      * See https://bugs.eclipse.org/bugs/show_bug.cgi?id=72489.
      * If the old behavior is desired by subclasses, get the returned composite's
@@ -687,7 +687,7 @@
             return 2;
         return 3;
     }
-    
+
     /*
      * (non-Javadoc)
      * @see dwtx.jface.dialogs.Dialog#isResizable()