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:
6de6c1c
)
re-added fix for transparency groups
author
Matthias Kramm
<kramm@quiss.org>
Thu, 17 Sep 2009 14:50:32 +0000
(16:50 +0200)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 17 Sep 2009 14:50:32 +0000
(16:50 +0200)
lib/pdf/GFXOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/GFXOutputDev.cc
b/lib/pdf/GFXOutputDev.cc
index
af891cb
..
84a4635
100644
(file)
--- a/
lib/pdf/GFXOutputDev.cc
+++ b/
lib/pdf/GFXOutputDev.cc
@@
-2696,6
+2696,9
@@
void GFXOutputDev::endTransparencyGroup(GfxState *state)
dbg("endTransparencyGroup this->device now back to %08x (destroying %08x)", states[statepos].olddevice, this->device);
+ while(statepos && !states[statepos].olddevice)
+ --statepos;
+
this->device = states[statepos].olddevice;
if(!this->device) {
msg("<error> Invalid state nesting");