From be63fe7b7f29348419c80aa3df50fec1132d7364 Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Wed, 6 Apr 2016 22:52:55 -0700 Subject: [PATCH] Simple Refactor Simple :) --- Misc/Util.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {