Simple Refactor

Simple :)
This commit is contained in:
Kaphotics 2016-04-06 22:52:55 -07:00
parent 677ec99256
commit be63fe7b7f

View file

@ -184,11 +184,11 @@ namespace PKHeX
// Data Retrieval
internal static int ToInt32(string value)
{
return string.IsNullOrWhiteSpace(value) ? 0 : int.Parse(value.Trim(new char[2] { ' ', '_' }));
return string.IsNullOrWhiteSpace(value) ? 0 : int.Parse(value.Trim(' ', '_'));
}
internal static uint ToUInt32(string value)
{
return string.IsNullOrWhiteSpace(value) ? 0 : uint.Parse(value.Trim(new char[2] { ' ', '_' }));
return string.IsNullOrWhiteSpace(value) ? 0 : uint.Parse(value.Trim(' ', '_'));
}
internal static uint getHEXval(string s)
{