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:
a07a14a
)
fixed segfault with -s multiply
author
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 19:04:56 +0000
(20:04 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Mon, 2 Feb 2009 19:04:56 +0000
(20:04 +0100)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
d3f8b4d
..
ef5f4f0
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-57,7
+57,6
@@
typedef struct _pdf_doc_internal
InfoOutputDev*info;
pdf_page_info_t*pages;
- gfxdevice_t* middev;
char*filename;
/* page map */
@@
-171,7
+170,7
@@
static void render2(gfxpage_t*page, gfxdevice_t*dev, int x,int y, int x1,int y1,
gfxdevice_rescale_init(middev, 0x00000000, 0, 0, 1.0 / multiply);
gfxdevice_rescale_setdevice(middev, dev);
middev->setparameter(middev, "protect", "1");
- dev = pi->middev;
+ dev = middev;
}
if(!pi) {