[poppler] poppler/GfxState.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed May 4 21:37:49 UTC 2016


 poppler/GfxState.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ecec576faf7e1ef644f5973f17e0b8244560912
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed May 4 23:23:04 2016 +0200

    Fix typo in GfxPatchMeshShading::parse

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index d6b9462..d3ea481 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -5547,7 +5547,7 @@ GfxPatchMeshShading *GfxPatchMeshShading::parse(GfxResources *res, int typeA, Di
 	p->x[1][0] = x[7];
 	p->y[1][0] = y[7];
 	for (j = 0; j < nComps; ++j) {
-	  p->color[0][1].c[j] = patchesA[nPatchesA-1].color[1][0].c[j];
+	  p->color[0][0].c[j] = patchesA[nPatchesA-1].color[1][0].c[j];
 	  p->color[0][1].c[j] = patchesA[nPatchesA-1].color[0][0].c[j];
 	  p->color[1][1].c[j] = c[0][j];
 	  p->color[1][0].c[j] = c[1][j];


More information about the poppler mailing list