changeset 4286:e81d259442ed

Merge
author lana
date Sat, 04 Jun 2011 17:32:21 -0700
parents bbb4cef2208b 6c9c55ae313b
children 1e04b38b3824
files
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java	Sat Jun 04 17:30:58 2011 -0700
+++ b/src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java	Sat Jun 04 17:32:21 2011 -0700
@@ -174,8 +174,11 @@
 
         // construct the resulting string
         for (int i=0; i<len; i++) {
+            if (i > 0) {
+                buf.append(" ");
+            }
             if (len > 1) {
-                buf.append(" \"");
+                buf.append("\"");
             }
             buf.append(result.get(i));
             if (len > 1) {