added protection against using both --cat and --stack
authorkramm <kramm>
Sat, 10 Sep 2005 12:32:45 +0000 (12:32 +0000)
committerkramm <kramm>
Sat, 10 Sep 2005 12:32:45 +0000 (12:32 +0000)
src/swfcombine.c

index 13ff224..8981b1d 100644 (file)
@@ -1125,6 +1125,11 @@ int main(int argn, char *argv[])
        msg("<error> Can't combine --cat and --merge");
        exit(1);
     }
+    
+    if(config.stack && config.cat) {
+       msg("<error> Can't combine --cat and --stack");
+       exit(1);
+    }
 
     if(config.stack) {
        if(config.overlay) {