Mercurial > projects > dwt-linux
changeset 281:cfecc1fcffc2
Fix path handling, thanks yidabu for reporting.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 01 Aug 2008 07:15:28 +0200 |
parents | e72345914350 |
children | 5583b017ffd2 |
files | dwt/dwthelper/File.d |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dwthelper/File.d Thu Jul 31 21:56:03 2008 -0700 +++ b/dwt/dwthelper/File.d Fri Aug 01 07:15:28 2008 +0200 @@ -7,6 +7,7 @@ static import tango.io.model.IFile; static import tango.io.FilePath; +static import tango.io.Path; static import tango.io.FileSystem; public class File { @@ -26,7 +27,7 @@ } public this ( String pathname ){ - mFilePath = new tango.io.FilePath.FilePath( pathname ); + mFilePath = new tango.io.FilePath.FilePath( tango.io.Path.standard( pathname )); } public this ( String parent, String child ){