Mercurial > projects > dwt-addons
changeset 50:7f9034e47984
Fix path separators
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 17:09:04 +0200 |
parents | 115258985f10 |
children | 8228b2ab09ef |
files | dwtx/jface/preference/PathEditor.d |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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$ } }