X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fswfcombine.c;h=8102aba1dac949a326fc9a95b5f6c4baeef4195f;hb=80d4ec51322bc02c9ef4581d0f095baa2a934ea9;hp=77597b661c48787f23a4f681a12e3649898ce48a;hpb=fb8388aa3df14766cc0ab7a1c6274cfec774693d;p=swftools.git diff --git a/src/swfcombine.c b/src/swfcombine.c index 77597b6..8102aba 100644 --- a/src/swfcombine.c +++ b/src/swfcombine.c @@ -10,11 +10,12 @@ #include #include #include -#include "args.h" +#include "../lib/args.h" #include "combine.h" #include "settings.h" #include "types.h" #include "flash.h" +#include "../config.h" char * master_filename = 0; char * master_name = 0; @@ -81,7 +82,7 @@ int args_callback_option(char*name,char*val) { } else if (!strcmp(name, "V")) { - printf("swfcombine - part of swftools 0.0.1\n"); + printf("swfcombine - part of %s %s\n", PACKAGE, VERSION); exit(0); } else @@ -91,11 +92,7 @@ int args_callback_option(char*name,char*val) { } } -struct options_t -{ - char*shortoption; - char*longoption; -} options[] = +struct options_t options[] = {{"o","output"}, {"s","scale"}, {"x","xpos"}, @@ -104,15 +101,11 @@ struct options_t {"v","verbose"}, {"V","version"}, {"c","clip"}, + {0,0} }; int args_callback_longoption(char*name,char*val) { - int t; - for(t=0;t