Fixed silly crash when editing player names

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-05-22 01:08:13 +00:00
parent 837adee03d
commit 105e941002

View File

@ -141,7 +141,7 @@ void ModalDialog::clearWindow()
{
// TODO: extract this code and its eqauivalent from Screen into the common base class?
Widget* w;
for_in (w, m_widgets);
for_in (w, m_widgets)
{
m_irrlicht_window->removeChild( w->getIrrlichtElement() );
}