X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpng2swf.c;h=56ec1e459473a339af02524ddc146f30fe4d768f;hb=d24247b63630ff910d4db022fe4e5f6e9d329108;hp=0878543339f41ded66ad756a82b7062202860a2a;hpb=d18ccf3a425ed1a44c54b7d4f5045b6defa08445;p=swftools.git diff --git a/src/png2swf.c b/src/png2swf.c index 0878543..56ec1e4 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -100,13 +100,8 @@ int MovieFinish(SWF * swf, TAG * t, char *sname) if(global.do_cgi) { if FAILED(swf_WriteCGI(swf)) fprintf(stderr,"WriteCGI() failed.\n"); } else { - if(global.version >= 6) { - if (swf_WriteSWC(f, swf)<0) - fprintf(stderr, "Unable to write output file: %s\n", sname); - } else { - if (swf_WriteSWF(f, swf)<0) - fprintf(stderr, "Unable to write output file: %s\n", sname); - } + if (swf_WriteSWF(f, swf)<0) + fprintf(stderr, "Unable to write output file: %s\n", sname); if (f != so) close(f); } @@ -1064,7 +1059,7 @@ void args_callback_usage(char *name) printf("-q , --quiet Omit normal log messages, only log errors\n"); printf("-C , --cgi For use as CGI- prepend http header, write to stdout\n"); printf("-V , --version Print version information and exit\n"); - printf("-s , --scale Scale image to %% size.\n"); + printf("-s , --scale Scale image to % size.\n"); printf("\n"); }