fix for T6 guid length including sign

This commit is contained in:
RaidMax 2019-02-14 08:42:14 -06:00
parent 2260d8974d
commit a362caebac

View File

@ -268,7 +268,7 @@ namespace SharedLibraryCore
str = str.Substring(0, Math.Min(str.Length, 16)); str = str.Substring(0, Math.Min(str.Length, 16));
long id; long id;
if (str.Length <= 10) if (str.Length <= 11) // 10 numeric characters + signed character
{ {
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id)) if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
{ {