mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Utilities] Clean input string more for dat format
This commit is contained in:
@@ -719,7 +719,7 @@ namespace SabreTools.Library.Tools
|
|||||||
/// <returns>DatFormat value corresponding to the string</returns>
|
/// <returns>DatFormat value corresponding to the string</returns>
|
||||||
public static DatFormat GetDatFormat(string input)
|
public static DatFormat GetDatFormat(string input)
|
||||||
{
|
{
|
||||||
switch (input?.ToLowerInvariant())
|
switch (input?.Trim().ToLowerInvariant())
|
||||||
{
|
{
|
||||||
case "all":
|
case "all":
|
||||||
return DatFormat.ALL;
|
return DatFormat.ALL;
|
||||||
|
|||||||
Reference in New Issue
Block a user