HUGE bug preventing 10 bytes of required data from being written in UTFDataFormat

This commit is contained in:
Michael Becker 2019-11-22 19:24:07 -05:00
parent 85af0f3c37
commit 9302b11bea
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -541,7 +541,7 @@ namespace UniversalEditor.Plugins.CRI.DataFormats.Database.UTF
{
WriteValue(bw, value, UTFColumnDataType.Int, stringTable);
}
else if (value is short || value is short)
else if (value is short || value is ushort)
{
WriteValue(bw, value, UTFColumnDataType.Short, stringTable);
}