aboutsummaryrefslogtreecommitdiff
path: root/src/keycode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keycode.h')
-rw-r--r--src/keycode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keycode.h b/src/keycode.h
index 2681e7efa..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);
-const std::string &keycode_to_keyname(s32 keycode);
+const char *keycode_to_keyname(s32 keycode);
// Key configuration getter
irr::EKEY_CODE getKeySetting(const char *settingname);