sanitize clipboard string. closes #1992

This commit is contained in:
oy 2019-02-04 16:32:38 +01:00
parent a1b8926f51
commit 4cb916db86

View file

@ -119,6 +119,7 @@ const char *CInput::GetClipboardText()
SDL_free(m_pClipboardText);
}
m_pClipboardText = SDL_GetClipboardText();
str_sanitize_cc(m_pClipboardText);
return m_pClipboardText;
}