Fix console search highlighting. Close #8451

This commit is contained in:
Learath 2024-06-05 18:01:42 +02:00
parent c7dc7b6a94
commit e9d568db5b

View file

@ -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;