diff --git a/source/common/utility/utf8.cpp b/source/common/utility/utf8.cpp index 1eec78130..eb6dd6bf5 100644 --- a/source/common/utility/utf8.cpp +++ b/source/common/utility/utf8.cpp @@ -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();