Material lookup by name + minor fixes

This commit is contained in:
parax0
2015-08-08 11:21:49 -04:00
parent 9157acd164
commit 8d90cd7e01
9 changed files with 33 additions and 35 deletions

View File

@@ -211,7 +211,7 @@ namespace StringUtil
int CodePoint;
// One byte
if ((cstr[0] & 0x80000000) == 0)
if ((cstr[0] & 0x80) == 0)
{
CodePoint = cstr[0] & 0x7FFFFFFF;
cstr++;