Fix cursor behaviour when skipping backwards

This commit is contained in:
Henningstone 2016-05-07 01:01:56 +02:00
parent cdc37493c2
commit 6a10c96e02

View file

@ -170,6 +170,8 @@ bool CChat::OnInput(IInput::CEvent Event)
(m_Input.GetString()[next] >= 91 && m_Input.GetString()[next] <= 96) ) (m_Input.GetString()[next] >= 91 && m_Input.GetString()[next] <= 96) )
{ {
FoundAt = i; FoundAt = i;
if(SearchDirection < 0)
FoundAt++;
break; break;
} }
} }