Mercurial > projects > dwt-linux
diff dwt/dwthelper/System.d @ 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 | 7ca3f26319f1 |
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;