diff -r 813d8bc3192f -r fa9dfbfc4145 Hardware/Computer.cs --- a/Hardware/Computer.cs Sun Aug 08 13:57:26 2010 +0000 +++ b/Hardware/Computer.cs Thu Aug 12 20:53:27 2010 +0000 @@ -196,7 +196,7 @@ public string GetReport() { - using (StringWriter w = new StringWriter()) { + using (StringWriter w = new StringWriter(CultureInfo.InvariantCulture)) { w.WriteLine(); w.WriteLine("Open Hardware Monitor Report"); @@ -266,7 +266,8 @@ public event HardwareEventHandler HardwareRemoved; public void Accept(IVisitor visitor) { - visitor.VisitComputer(this); + if (visitor != null) + visitor.VisitComputer(this); } public void Traverse(IVisitor visitor) { @@ -281,9 +282,9 @@ return false; } - public void Set(string name, string value) { } + public void SetValue(string name, string value) { } - public string Get(string name, string value) { + public string GetValue(string name, string value) { return value; }