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:
d109ab5
)
swf_output_save() now returns a negative value on failure
author
kramm
<kramm>
Thu, 2 Jun 2005 17:06:20 +0000
(17:06 +0000)
committer
kramm
<kramm>
Thu, 2 Jun 2005 17:06:20 +0000
(17:06 +0000)
pdf2swf/pdf2swf.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/pdf2swf.cc
b/pdf2swf/pdf2swf.cc
index
4881fa8
..
cca5e84
100644
(file)
--- a/
pdf2swf/pdf2swf.cc
+++ b/
pdf2swf/pdf2swf.cc
@@
-466,8
+466,9
@@
int main(int argn, char *argv[])
}
nup_pos++;
}
- if(!swf_output_save(swf, outputname))
+ if(swf_output_save(swf, outputname) < 0) {
exit(1);
+ }
msg("<notice> SWF written");
swf_output_destroy(swf);