mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
InputCommon: Get rid of static strings.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user