X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpng2swf.c;h=ffca258823efb6edfb244d82ced91f532cfa14d3;hb=ac8c6f00fbaa94b3136457caf1a24d8f4f0c12cc;hp=5da1945d083ea7b367d8cb033023f375827f0ad5;hpb=5b0f171d461fac3d379022d195cafe1992243466;p=swftools.git diff --git a/src/png2swf.c b/src/png2swf.c index 5da1945..ffca258 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"); }