From 9c7bd5ecdc923b1c30d48fe4178bad8ca8628052 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 22 Apr 2008 09:30:45 +0000 Subject: [PATCH] patch for xpdf-3.02 path handling --- lib/pdf/xpdf-changes.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index 8ecde89..47720ae 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -134,6 +134,17 @@ diff -u -r1.10 -r1.12 sizeof(GfxColorComp)); for (i = 0; i <= maxPixel; ++i) { lookup[k][i] = dblToCol(decodeLow[k] + +@@ -3754,7 +3769,10 @@ + } + + void GfxState::setPath(GfxPath *pathA) { ++ if(pathA) { ++ if(path) + delete path; ++ } + path = pathA; + } + Index: GlobalParams.cc =================================================================== RCS file: /home/kramm/cvs/swftools.cache.cvsroot/swftools.cache/pdf2swf/xpdf/GlobalParams.cc,v -- 1.7.10.4