Mercurial > projects > dwt-win
changeset 272:463d461e6e78
Fix path handling, thanks yidabu for reporting.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 01 Aug 2008 07:16:10 +0200 |
parents | 77eda8eca295 |
children | 8632408a70aa |
files | dwt/dwthelper/File.d dwt/internal/win32/OS.d |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dwthelper/File.d Tue Jul 29 02:41:05 2008 +0200 +++ b/dwt/dwthelper/File.d Fri Aug 01 07:16:10 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 ){
--- a/dwt/internal/win32/OS.d Tue Jul 29 02:41:05 2008 +0200 +++ b/dwt/internal/win32/OS.d Fri Aug 01 07:16:10 2008 +0200 @@ -34,7 +34,6 @@ import tango.stdc.string : memset, strlen; import tango.stdc.stringz : toString16z; import tango.text.convert.Utf : toString16; -import tango.io.FilePath; static import tango.io.TempFile; import tango.io.File;