X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpdf2swf.c;h=196c2e6cf35467f910f7b7dbb25ddfd11c6eb1ed;hb=21cc722e632593f890feb1b95d15801d1f852415;hp=e68bb7c06513a8589a0c9aab5c2e6ef78efd6db0;hpb=7528e9af6df5b0d27fc6d27158ab3cc51d6cbf64;p=swftools.git diff --git a/src/pdf2swf.c b/src/pdf2swf.c index e68bb7c..196c2e6 100644 --- a/src/pdf2swf.c +++ b/src/pdf2swf.c @@ -623,7 +623,6 @@ int main(int argn, char *argv[]) char t1searchpath[1024]; int nup_pos = 0; int x,y; - char* installPath = getInstallationPath(); int one_file_per_page = 0; initLog(0,-1,0,0,-1,loglevel); @@ -825,7 +824,7 @@ int main(int argn, char *argv[]) if(one_file_per_page) { gfxresult_t*result = out->finish(out);out=0; char buf[1024]; - sprintf(buf, outputname, one_file_per_page++); + sprintf(buf, outputname, pagenr); if(result->save(result, buf) < 0) { return 1; }