Fix misleading version results

This commit is contained in:
Matt Nadareski
2021-03-22 16:25:40 -07:00
parent bc613a0413
commit e43423d2c9
8 changed files with 15 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ namespace BurnOutSharp.ProtectionType
{
char[] version = new ArraySegment<byte>(fileContent, positions[0] + 15, 4).Select(b => (char)b).ToArray();
if (version[0] == 0x00)
return "";
return string.Empty;
return new string(version);
}