fix assignment to dereferenced pointer

This commit is contained in:
darkrose 2014-11-19 01:54:40 +10:00
parent 1a1d5d8c97
commit 0fd2643d36
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
#if USE_FREETYPE
e = (gui::IGUIEditBox *) new gui::intlGUIEditBox(L"", true, Environment, this, GUI_ID_PW_INPUT, rect);
#else
*e = Environment->addEditBox(L"", rect, false, this, GUI_ID_PW_INPUT);
e = Environment->addEditBox(L"", rect, false, this, GUI_ID_PW_INPUT);
#endif
e->setPasswordBox(true);
if (text_name != L"" && text_address != L"")