summaryrefslogtreecommitdiff
path: root/mymenucommands.c
diff options
context:
space:
mode:
Diffstat (limited to 'mymenucommands.c')
-rw-r--r--mymenucommands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mymenucommands.c b/mymenucommands.c
index 97666dc..b7e3c79 100644
--- a/mymenucommands.c
+++ b/mymenucommands.c
@@ -30,12 +30,12 @@ eOSState myMenuCommands::Execute()
{
char *buffer=NULL;
bool confirmed=true;
-#ifdef CMD_SUBMENUS
+#ifdef BIGPATCHVERSION
if (command->hasChilds()) {
- AddSubMenu(new cMenuCommands(command->Title(), command->getChilds(), parameters));
+ AddSubMenu(new myMenuCommands(command->Title(), command->getChilds(), parameters));
return osContinue;
}
-#endif // CMD_SUBMENUS
+#endif
if(command->Confirm()) {
asprintf(&buffer,"%s?",command->Title());
confirmed=Interface->Confirm(buffer);