]> Dogcows Code - chaz/openbox/commitdiff
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 019a29a29db56ef8a7804cb1a394ed79147d56ca..13916baed46d3deb0c834ac83d202e9357fb3631 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"));
This page took 0.028983 seconds and 4 git commands to generate.