changeset 136:7931ee9b41e6

Fix path handling, thanks yidabu for reporting.
author Frank Benoit <benoit@tionex.de>
date Sun, 03 Aug 2008 04:38:21 +0200
parents 425c1adb5de5
children 96a2d0b35360
files jface/FileTreeViewer.d
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jface/FileTreeViewer.d	Sun Aug 03 02:19:19 2008 +0200
+++ b/jface/FileTreeViewer.d	Sun Aug 03 04:38:21 2008 +0200
@@ -36,6 +36,7 @@
 //------------------------------------
 
 import tango.io.FileSystem;
+import tango.io.Path;
 import tango.io.FilePath;
 import tango.util.log.Trace;
 
@@ -133,7 +134,7 @@
             if( root == `A:\`|| root == `B:\` ){
                 continue;
             }
-            res ~= new FilePath( root );
+            res ~= new FilePath( tango.io.Path.standard( root ));
         }
         return res;
     }