git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added a proper expression parser
[swftools.git]
/
src
/
pdf2swf.c
diff --git
a/src/pdf2swf.c
b/src/pdf2swf.c
index
4bf18df
..
a011db6
100644
(file)
--- a/
src/pdf2swf.c
+++ b/
src/pdf2swf.c
@@
-600,7
+600,7
@@
int main(int argn, char *argv[])
int nup_pos = 0;
int x,y;
char* installPath = getInstallationPath();
int nup_pos = 0;
int x,y;
char* installPath = getInstallationPath();
- char one_file_per_page = 0;
+ int one_file_per_page = 0;
initLog(0,-1,0,0,-1,loglevel);
initLog(0,-1,0,0,-1,loglevel);
@@
-679,11
+679,11
@@
int main(int argn, char *argv[])
if((u = strchr(outputname, '%'))) {
if(strchr(u+1, '%') ||
strchr(outputname, '%')!=u) {
if((u = strchr(outputname, '%'))) {
if(strchr(u+1, '%') ||
strchr(outputname, '%')!=u) {
- msg("<error> only one %%d allowed in filename\n");
+ msg("<error> only one %% allowed in filename\n");
return 1;
}
if(preloader || viewer) {
return 1;
}
if(preloader || viewer) {
- msg("<error> -b/-l/-B/-L not supported together with %%d in filename\n");
+ msg("<error> -b/-l/-B/-L not supported together with %% in filename\n");
return 1;
}
msg("<notice> outputting one file per page");
return 1;
}
msg("<notice> outputting one file per page");