forked from oerkki/voxelands
fix assignment to dereferenced pointer
This commit is contained in:
parent
1a1d5d8c97
commit
0fd2643d36
|
@ -490,7 +490,7 @@ void GUIMainMenu::regenerateGui(v2u32 screensize)
|
||||||
#if USE_FREETYPE
|
#if USE_FREETYPE
|
||||||
e = (gui::IGUIEditBox *) new gui::intlGUIEditBox(L"", true, Environment, this, GUI_ID_PW_INPUT, rect);
|
e = (gui::IGUIEditBox *) new gui::intlGUIEditBox(L"", true, Environment, this, GUI_ID_PW_INPUT, rect);
|
||||||
#else
|
#else
|
||||||
*e = Environment->addEditBox(L"", rect, false, this, GUI_ID_PW_INPUT);
|
e = Environment->addEditBox(L"", rect, false, this, GUI_ID_PW_INPUT);
|
||||||
#endif
|
#endif
|
||||||
e->setPasswordBox(true);
|
e->setPasswordBox(true);
|
||||||
if (text_name != L"" && text_address != L"")
|
if (text_name != L"" && text_address != L"")
|
||||||
|
|
Loading…
Reference in New Issue