mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- fixed character counter in MakeUTF8.
This commit is contained in:
parent
724c811de3
commit
d729bc898c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue