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);
}
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 <percent> Scale image to <percent>% size.\n");
+ printf("-s , --scale <percent> Scale image to <percent>%% size.\n");
printf("\n");
}