- fixed character counter in MakeUTF8.

This commit is contained in:
Christoph Oelckers 2020-08-03 20:18:33 +02:00
parent 724c811de3
commit d729bc898c

View file

@ -249,7 +249,7 @@ const char *MakeUTF8(const char *outline, int *numchars)
UTF8String.Push(encode[i]);
}
}
if (numchars) *numchars++;
if (numchars) (*numchars)++;
}
UTF8String.Push(0);
return UTF8String.Data();