Mercurial > projects > dwt-addons
diff dwtx/jface/preference/PathEditor.d @ 50:7f9034e47984
Fix path separators
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 17:09:04 +0200 |
parents | ea8ff534f622 |
children | 7ffeace6c47f |
line wrap: on
line diff
--- a/dwtx/jface/preference/PathEditor.d Fri Apr 11 16:31:18 2008 +0200 +++ b/dwtx/jface/preference/PathEditor.d Fri Apr 11 17:09:04 2008 +0200 @@ -72,7 +72,7 @@ for (int i = 0; i < items.length; i++) { path.append(items[i]); - path.append(FileConst.PathSeparatorString); + path.append(FileConst.SystemPathString); } return path.toString(); } @@ -107,7 +107,7 @@ * Method declared on ListEditor. */ protected override String[] parseString(String stringList) { - return tango.text.Util.delimit(stringList.dup, FileConst.PathSeparatorString + return tango.text.Util.delimit(stringList.dup, FileConst.SystemPathString ~ "\n\r");//$NON-NLS-1$ } }