Mercurial > projects > dwt-addons
diff dwtx/core/runtime/Path.d @ 97:0168c579a3f9
Fix path handling, thanks yidabu for reporting.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 01 Aug 2008 07:06:52 +0200 |
parents | 1088ca33d3e0 |
children |
line wrap: on
line diff
--- a/dwtx/core/runtime/Path.d Sat Jul 26 14:39:08 2008 +0200 +++ b/dwtx/core/runtime/Path.d Fri Aug 01 07:06:52 2008 +0200 @@ -13,6 +13,7 @@ module dwtx.core.runtime.Path; import tango.io.FilePath; +static import tango.io.Path; import dwtx.core.runtime.IPath; import dwtx.core.runtime.Assert; @@ -885,7 +886,7 @@ * @see IPath#toFile() */ public FilePath toFile() { - return new FilePath(toOSString()); + return new FilePath(tango.io.Path.standard(toOSString())); } /* (Intentionally not included in javadoc)