added -w, -h command-line options
authorkramm <kramm>
Mon, 5 Jun 2006 07:55:07 +0000 (07:55 +0000)
committerkramm <kramm>
Mon, 5 Jun 2006 07:55:07 +0000 (07:55 +0000)
src/swfcombine.c

index 72d1147..16589b1 100644 (file)
@@ -161,6 +161,16 @@ int args_callback_option(char*name,char*val) {
        config.scalex = config.scaley = atoi(val)/100.0;
        return 1;
     }
+    else if (!strcmp(name, "w"))
+    {
+       config.scalex = atoi(val)/100.0;
+       return 1;
+    }
+    else if (!strcmp(name, "h"))
+    {
+       config.scaley = atoi(val)/100.0;
+       return 1;
+    }
     else if (!strcmp(name, "t") || !strcmp(name, "T"))
     {
        if(master_filename) {