summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fxge/dib/cfx_imagetransformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp
index 37e2be0431..e514153acf 100644
--- a/core/fxge/dib/cfx_imagetransformer.cpp
+++ b/core/fxge/dib/cfx_imagetransformer.cpp
@@ -192,7 +192,7 @@ class CFX_BilinearMatrix : public CPDF_FixedMatrix {
*res_y = static_cast<int>(fmodf(val.second, kBase));
if (*res_x < 0 && *res_x > -kBase)
*res_x = kBase + *res_x;
- if (*res_y < 0 && *res_x > -kBase)
+ if (*res_y < 0 && *res_y > -kBase)
*res_y = kBase + *res_y;
}
};