'repeat one song' mode added + memleak fix and some code clean-ups
This commit is contained in:
@@ -563,7 +563,7 @@ bool Menu::IsStatic(int option)
|
||||
}
|
||||
}
|
||||
|
||||
Menu Menu::EmptyClone()
|
||||
Window * Menu::EmptyClone()
|
||||
{
|
||||
return Menu(GetStartX(),GetStartY(),GetWidth(),GetHeight(),itsTitle,itsBaseColor,itsBorder);
|
||||
return new Menu(GetStartX(),GetStartY(),GetWidth(),GetHeight(),itsTitle,itsBaseColor,itsBorder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user