diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
commit | 9a36550815c3d874ce62650bf06ee85a3f705f1c (patch) | |
tree | cc45ee69f0eca20520b388c44909703142c9196a /tree | |
parent | fa0b09e3a0c696069033195a394b09d30a8c0573 (diff) | |
download | mupdf-9a36550815c3d874ce62650bf06ee85a3f705f1c.tar.xz |
shift things about a bit
Diffstat (limited to 'tree')
-rw-r--r-- | tree/optimize.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tree/optimize.c b/tree/optimize.c index b65a37ca..cbb9ad31 100644 --- a/tree/optimize.c +++ b/tree/optimize.c @@ -181,6 +181,14 @@ retry: shape = current->first; color = shape->next; + if (color == nil) + { + fz_removenode(current); + prev = nil; + current = node->first; + goto retry; + } + if (fz_ispathnode(shape)) { if (getrect((fz_pathnode*)shape, &bbox)) |