mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Delete useless brackets
This commit is contained in:
parent
ec957fc00e
commit
141a256cb3
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue