mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Merge pull request #8454 from Learath2/dd_pr_fixsearchhilite
Fix console search highlighting. Close #8451
This commit is contained in:
commit
151956294d
|
@ -1667,7 +1667,7 @@ public:
|
||||||
|
|
||||||
while(pCurrent < pBatchEnd && pCurrent != pEllipsis)
|
while(pCurrent < pBatchEnd && pCurrent != pEllipsis)
|
||||||
{
|
{
|
||||||
const int PrevCharCount = pCursor->m_GlyphCount;
|
const int PrevCharCount = pCursor->m_CharCount;
|
||||||
pCursor->m_CharCount += pTmp - pCurrent;
|
pCursor->m_CharCount += pTmp - pCurrent;
|
||||||
pCurrent = pTmp;
|
pCurrent = pTmp;
|
||||||
int Character = NextCharacter;
|
int Character = NextCharacter;
|
||||||
|
|
Loading…
Reference in a new issue