# HG changeset patch # User John Reimer # Date 1218953530 25200 # Node ID 9764f08379f2e4650546236d5a315eb4ded9e271 # Parent c7c696cdfec2882b35c09e0596a89a6310feff73 fix dwthelper after recent change diff -r c7c696cdfec2 -r 9764f08379f2 dwt/dwthelper/System.d --- 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;