diff --git a/Misc/Util.cs b/Misc/Util.cs index e23b18fdb..63255734f 100644 --- a/Misc/Util.cs +++ b/Misc/Util.cs @@ -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) {