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 (from parent 1:
a05ea3f
)
fix: with -bl, the dimensions weren't right.
release-0-2-1
author
kramm
<kramm>
Sun, 16 Dec 2001 14:25:09 +0000
(14:25 +0000)
committer
kramm
<kramm>
Sun, 16 Dec 2001 14:25:09 +0000
(14:25 +0000)
pdf2swf/pdf2swf.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/pdf2swf.cc
b/pdf2swf/pdf2swf.cc
index
739e421
..
4daa90a
100644
(file)
--- a/
pdf2swf/pdf2swf.cc
+++ b/
pdf2swf/pdf2swf.cc
@@
-299,10
+299,11
@@
int main(int argn, char *argv[])
printf("\n");
}
if(preloader && viewer) {
printf("\n");
}
if(preloader && viewer) {
- systemf("swfcombine %s viewport=%s -o %s",
+ systemf("swfcombine %s viewport=%s -o __tmp__.swf",
viewer, outputname, outputname);
viewer, outputname, outputname);
- systemf("swfcombine `swfdump -XY %s` `swfdump -r %s` %s/swfs/PreLoaderTemplate.swf loader=%s movie=%s -o %s",
- outputname, preloader, DATADIR, preloader, outputname, outputname);
+ systemf("swfcombine `swfdump -XY %s` `swfdump -r %s` %s/swfs/PreLoaderTemplate.swf loader=%s movie=__tmp__.swf -o %s",
+ outputname, preloader, DATADIR, preloader, outputname);
+ systemf("rm __tmp__.swf");
}
return 0;
}
return 0;