sync with bb-cvs
authorDana Jansens <danakj@orodu.net>
Fri, 26 Jul 2002 15:22:24 +0000 (15:22 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Jul 2002 15:22:24 +0000 (15:22 +0000)
src/Screen.cc

index 019a29a..13916ba 100644 (file)
@@ -1771,7 +1771,7 @@ bool BScreen::parseMenuFile(FILE *file, Rootmenu *menu) {
           break;
 
         case 421: // exec
-          if (! (*label || *command)) {
+          if (! (*label && *command)) {
             fprintf(stderr, i18n(ScreenSet, ScreenEXECError,
                                  "BScreen::parseMenuFile: [exec] error, "
                                  "no menu label and/or command defined\n"));