InputCommon: Get rid of static strings.

This commit is contained in:
Admiral H. Curtiss
2022-07-15 19:53:10 +02:00
parent 537fe33997
commit 89067e66f9
3 changed files with 4 additions and 4 deletions

View File

@ -226,7 +226,7 @@ ControlState KeyboardAndMouse::Button::GetState() const
std::string KeyboardAndMouse::Cursor::GetName() const
{
static char tmpstr[] = "Cursor ..";
char tmpstr[] = "Cursor ..";
tmpstr[7] = (char)('X' + m_index);
tmpstr[8] = (m_positive ? '+' : '-');
return tmpstr;