git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ac28a
)
if page range is given and % filename syntax is used, name files according to page...
author
kramm
<kramm>
Sun, 23 Nov 2008 14:01:48 +0000
(14:01 +0000)
committer
kramm
<kramm>
Sun, 23 Nov 2008 14:01:48 +0000
(14:01 +0000)
src/pdf2swf.c
patch
|
blob
|
history
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
e68bb7c
..
1c476c1
100644
(file)
--- a/
src/pdf2swf.c
+++ b/
src/pdf2swf.c
@@
-825,7
+825,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;
}