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:
cb0a1b4
)
added warning message for bad pdfs
author
kramm
<kramm>
Sat, 6 Jan 2007 22:23:05 +0000
(22:23 +0000)
committer
kramm
<kramm>
Sat, 6 Jan 2007 22:23:05 +0000
(22:23 +0000)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
51e380d
..
81f16bf
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-295,6
+295,7
@@
gfxdocument_t*pdf_open(char*filename)
delete userPW;
}
if (!i->doc->isOk()) {
+ printf("xpdf reports document as broken.\n");
return 0;
}