Hardware/HDD/SMART.cs
changeset 308 d882720734bf
parent 233 c5139c236200
     1.1 --- a/Hardware/HDD/SMART.cs	Sun Jun 26 20:04:26 2011 +0000
     1.2 +++ b/Hardware/HDD/SMART.cs	Thu Jul 07 20:41:09 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s): Paul Werelds
    1.12 @@ -462,7 +462,7 @@
    1.13            chars[i + 1] = (char)bytes[i];
    1.14          }
    1.15  
    1.16 -        return new string(chars).Trim();
    1.17 +        return new string(chars).Trim(new char[] {' ', '\0'});
    1.18        }
    1.19      }
    1.20