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:
902612a
)
fixed page extraction problem together with gfx module
author
kramm
<kramm>
Thu, 19 Jun 2008 20:30:45 +0000
(20:30 +0000)
committer
kramm
<kramm>
Thu, 19 Jun 2008 20:30:45 +0000
(20:30 +0000)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
98fb665
..
b51cc9a
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-196,10
+196,6
@@
gfxpage_t* pdf_doc_getpage(gfxdocument_t*doc, int page)
if(page < 1 || page > doc->num_pages)
return 0;
- if(di->nocopy) {
- msg("<error> PDF disallows copying.");
- return 0;
- }
gfxpage_t* pdf_page = (gfxpage_t*)malloc(sizeof(gfxpage_t));
pdf_page_internal_t*pi= (pdf_page_internal_t*)malloc(sizeof(pdf_page_internal_t));