mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 14:36:54 -05:00
Update trim call for strings
7ef8a88678 (commitcomment-29123689)
A better fix may be to just make all line endings consistent ('\n'), but
string resource loading time is negligible
This commit is contained in:
@@ -84,7 +84,7 @@ public static string[] GetStringList(string f)
|
||||
if (txt == null) return new string[0];
|
||||
string[] rawlist = txt.Split('\n');
|
||||
for (int i = 0; i < rawlist.Length; i++)
|
||||
rawlist[i] = rawlist[i].Trim();
|
||||
rawlist[i] = rawlist[i].TrimEnd('\r');
|
||||
stringListCache.Add(f, rawlist);
|
||||
return (string[])rawlist.Clone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user