summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2008-02-09 17:56:13 +0100
committerAlbert Astals Cid <aacid@kde.org>2008-02-09 17:57:14 +0100
commit48709381eacca4e6af4e0ca8417c486ac6139bb3 (patch)
tree84b434ff71a340a163a2726b02683709f31ae82e
parentfa15cd94be09262b902aeac5b3d3533a8167e4f8 (diff)
Domain order is x_min x_max y_min y_max and not x_min y_min x_max y_max
-rw-r--r--poppler/GfxState.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 5c55d535..0101d118 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -1968,9 +1968,9 @@ GfxFunctionShading *GfxFunctionShading::parse(Dict *dict) {
obj1.arrayGetLength() == 4) {
x0A = obj1.arrayGet(0, &obj2)->getNum();
obj2.free();
- y0A = obj1.arrayGet(1, &obj2)->getNum();
+ x1A = obj1.arrayGet(1, &obj2)->getNum();
obj2.free();
- x1A = obj1.arrayGet(2, &obj2)->getNum();
+ y0A = obj1.arrayGet(2, &obj2)->getNum();
obj2.free();
y1A = obj1.arrayGet(3, &obj2)->getNum();
obj2.free();