mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix keycode_to_keyname return value
This commit is contained in:
@@ -206,7 +206,7 @@ static const char *KeyNames[] =
|
||||
"-", "-", "-", "-", "-", "-", "-", "-", "Attn", "CrSel", "ExSel",
|
||||
"Erase OEF", "Play", "Zoom", "PA1", "OEM Clear", "-" };
|
||||
|
||||
const std::string &keycode_to_keyname(s32 keycode)
|
||||
const char *keycode_to_keyname(s32 keycode)
|
||||
{
|
||||
return KeyNames[keycode];
|
||||
}
|
||||
|
Reference in New Issue
Block a user