changeset 306:9764f08379f2

fix dwthelper after recent change
author John Reimer<terminal.node@gmail.com>
date Sat, 16 Aug 2008 23:12:10 -0700
parents c7c696cdfec2
children 9995e4a9d2ee 5073c0da393a
files dwt/dwthelper/System.d
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/System.d	Sat Aug 16 22:53:35 2008 -0700
+++ b/dwt/dwthelper/System.d	Sat Aug 16 23:12:10 2008 -0700
@@ -7,7 +7,7 @@
 
 import tango.sys.Environment;
 import tango.core.Exception;
-import tango.io.model.IFile;
+import tango.io.model.IFile : FileConst;
 import tango.time.Clock;
 import tango.stdc.stdlib : exit;
 
@@ -151,13 +151,12 @@
         String* p;
         if (key[0..3] == "dwt") {
             return ((p = key in localProperties) != null) ? *p : null;
-        }
         /* else get values for global system keys (environment) */
         } else {
             switch( key ){
                 case "os.name": return "linux";
-                case "user.name" return "";
-                case "user.home" return "";
+                case "user.name": return "";
+                case "user.home": return "";
                 case "user.dir" : return "";
                 case "file.separator" : return FileConst.PathSeparatorString ;
                 default: return null;