Mercurial > projects > dwt-linux
diff dwt/dwthelper/File.d @ 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 | 9d67c3170a58 |
children | 2bcb17ebe0be |
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 ){