X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fargs.h;h=cc9a58d3f300142bbb7f738126de510171f77b61;hb=c6ded2d3330929c3706921ffbc09f4641d06cc81;hp=c1ed3e318ee1138b506bdaf644277f59d02be00d;hpb=83f7edec866e46e30529e7e9169900c5b13423cb;p=swftools.git diff --git a/lib/args.h b/lib/args.h index c1ed3e3..cc9a58d 100644 --- a/lib/args.h +++ b/lib/args.h @@ -79,7 +79,9 @@ int args_long2shortoption(struct options_t*options, char*name, char*val) +(equal?strlen(equal)+2:2)); strcpy(tmp, options->shortoption); if(equal) { - strcpy(&tmp[strlen(tmp)], equal); + //strcpy(&tmp[strlen(tmp)], equal); + int ret = args_callback_option(tmp, equal); + return 0; } return args_callback_option(tmp,val); }