Navigation Menu

Skip to content

Commit

Permalink
undoing PR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
minduser00 authored and SmallJoker committed Apr 9, 2018
1 parent be64901 commit 88d091f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/guiKeyChangeMenu.cpp
Expand Up @@ -153,7 +153,7 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
{
core::rect < s32 > rect(0, 0, 100, 30);
rect += topleft + v2s32(offset.X + 120, offset.Y - 5);
const wchar_t *text = k->key.name()[0] ? wgettext(k->key.name()) : utf8_to_wide_c("");
const wchar_t *text = wgettext(k->key.name());
k->button = Environment->addButton(rect, this, k->id, text);
delete[] text;
}
Expand Down

0 comments on commit 88d091f

Please sign in to comment.