- fixed character counting in TypeOn HUD message.
This commit is contained in:
parent
ec476877ac
commit
90c47e7497
2 changed files with 3 additions and 3 deletions
|
|
@ -393,8 +393,8 @@ size_t FString::CharacterCount() const
|
|||
|
||||
int FString::GetNextCharacter(int &position) const
|
||||
{
|
||||
const uint8_t *cp = (const uint8_t*)Chars;
|
||||
const uint8_t *cpread = cp + position;
|
||||
const uint8_t *cp = (const uint8_t*)Chars + position;
|
||||
const uint8_t *cpread = cp;
|
||||
int chr = GetCharFromString(cpread);
|
||||
position += int(cpread - cp);
|
||||
return chr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue