Delete useless brackets

This commit is contained in:
Ryozuki 2017-02-14 17:06:51 +01:00
parent ec957fc00e
commit 141a256cb3

View file

@ -184,10 +184,10 @@ bool CChat::OnInput(IInput::CEvent Event)
{
char Text[512];
str_copy(Text, m_Input.GetString(), FoundAt + 1);
if(m_Input.GetCursorOffset() != str_length(m_Input.GetString()))
{
str_append(Text, m_Input.GetString() + m_Input.GetCursorOffset(), str_length(m_Input.GetString()));
}
m_Input.Set(Text);
}
}