From: kramm Date: Tue, 22 Apr 2008 09:30:45 +0000 (+0000) Subject: patch for xpdf-3.02 path handling X-Git-Tag: buttons-working~235 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=9c7bd5ecdc923b1c30d48fe4178bad8ca8628052;p=swftools.git patch for xpdf-3.02 path handling --- 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