git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small fix for previous commit
[swftools.git]
/
src
/
pdf2swf.c
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
f2425c7
..
4344187
100644
(file)
--- a/
src/pdf2swf.c
+++ b/
src/pdf2swf.c
@@
-673,16
+673,16
@@
int main(int argn, char *argv[])
if(pagerange)
driver->set_parameter(driver, "pages", pagerange);
if(pagerange)
driver->set_parameter(driver, "pages", pagerange);
- if(info_only) {
- show_info(driver, filename);
- return 0;
- }
-
/* add fonts */
for(t=0;t<fontpathpos;t++) {
driver->set_parameter(driver, "fontdir", fontpaths[t]);
}
/* add fonts */
for(t=0;t<fontpathpos;t++) {
driver->set_parameter(driver, "fontdir", fontpaths[t]);
}
+ if(info_only) {
+ show_info(driver, filename);
+ return 0;
+ }
+
char*u = 0;
if((u = strchr(outputname, '%'))) {
if(strchr(u+1, '%') ||
char*u = 0;
if((u = strchr(outputname, '%'))) {
if(strchr(u+1, '%') ||