diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 8c16fe289..b7c228221 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -1667,7 +1667,7 @@ public: while(pCurrent < pBatchEnd && pCurrent != pEllipsis) { - const int PrevCharCount = pCursor->m_GlyphCount; + const int PrevCharCount = pCursor->m_CharCount; pCursor->m_CharCount += pTmp - pCurrent; pCurrent = pTmp; int Character = NextCharacter;