aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiKeyChangeMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/guiKeyChangeMenu.h')
-rw-r--r--src/gui/guiKeyChangeMenu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/guiKeyChangeMenu.h b/src/gui/guiKeyChangeMenu.h
index 84a898774..6bb3a9050 100644
--- a/src/gui/guiKeyChangeMenu.h
+++ b/src/gui/guiKeyChangeMenu.h
@@ -33,7 +33,7 @@ class ISimpleTextureSource;
struct key_setting
{
int id;
- const wchar_t *button_name;
+ std::wstring button_name;
KeyPress key;
std::string setting_name;
gui::IGUIButton *button;
@@ -68,7 +68,7 @@ private:
bool resetMenu();
- void add_key(int id, const wchar_t *button_name, const std::string &setting_name);
+ void add_key(int id, std::wstring button_name, const std::string &setting_name);
bool shift_down = false;