diff options
Diffstat (limited to 'src/keycode.h')
-rw-r--r-- | src/keycode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keycode.h b/src/keycode.h index 300682b12..e64cb362c 100644 --- a/src/keycode.h +++ b/src/keycode.h @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> irr::EKEY_CODE keyname_to_keycode(const char *name); -std::string keycode_to_keyname(s32 keycode); +const char *keycode_to_keyname(s32 keycode); // Key configuration getter irr::EKEY_CODE getKeySetting(const char *settingname); |