[Project64] Clean up Menu Class.cpp

This commit is contained in:
zilmar 2015-11-14 08:15:20 +11:00
parent 9e744ef180
commit 003bcc9096
1 changed files with 56 additions and 56 deletions

View File

@ -5,7 +5,8 @@ CBaseMenu::CBaseMenu () :
{ {
} }
bool CBaseMenu::AddMenu(HMENU hMenu, MenuItemList Items ) { bool CBaseMenu::AddMenu(HMENU hMenu, MenuItemList Items)
{
if (Items.begin() == Items.end()) { return false; } if (Items.begin() == Items.end()) { return false; }
UINT ItemID, uFlags; UINT ItemID, uFlags;
@ -69,4 +70,3 @@ bool CBaseMenu::AddMenu(HMENU hMenu, MenuItemList Items ) {
} }
return true; return true;
} }