Hardware/ATI/ATIGPU.cs
changeset 166 fa9dfbfc4145
parent 165 813d8bc3192f
child 176 c16fd81b520a
     1.1 --- a/Hardware/ATI/ATIGPU.cs	Sun Aug 08 13:57:26 2010 +0000
     1.2 +++ b/Hardware/ATI/ATIGPU.cs	Thu Aug 12 20:53:27 2010 +0000
     1.3 @@ -37,9 +37,10 @@
     1.4  
     1.5  using System;
     1.6  using System.Collections.Generic;
     1.7 +using System.Globalization;
     1.8  
     1.9  namespace OpenHardwareMonitor.Hardware.ATI {
    1.10 -  internal class ATIGPU : Hardware {
    1.11 +  internal sealed class ATIGPU : Hardware {
    1.12  
    1.13      private string name;
    1.14      private int adapterIndex;
    1.15 @@ -80,7 +81,10 @@
    1.16      }
    1.17  
    1.18      public override Identifier Identifier {
    1.19 -      get { return new Identifier("atigpu", adapterIndex.ToString()); }
    1.20 +      get { 
    1.21 +        return new Identifier("atigpu", 
    1.22 +          adapterIndex.ToString(CultureInfo.InvariantCulture)); 
    1.23 +      }
    1.24      }
    1.25  
    1.26      public override HardwareType HardwareType {