summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2014-04-06 15:59:43 +0200
committerAlbert Astals Cid <aacid@kde.org>2014-04-06 16:08:15 +0200
commitca9713118d6ce3fdd245f9ca4f595229a5be19c3 (patch)
treed310a16c09cc0911b5e1a92c920560b6ae6be822 /splash
parent0ef290a7c5a8fa54d3fe0f646abdf098443a7a67 (diff)
Don't check twice for the same variable ^_^
CID #16804
Diffstat (limited to 'splash')
-rw-r--r--splash/Splash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index aa46494c..8d0765bd 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -3842,7 +3842,7 @@ SplashError Splash::arbitraryTransformImage(SplashImageSource src, void *srcData
scaledWidth = yMax - yMin;
scaledHeight = xMax - xMin;
}
- if (scaledHeight <= 1 || scaledHeight <= 1 || tilingPattern) {
+ if (scaledHeight <= 1 || scaledWidth <= 1 || tilingPattern) {
if (mat[0] >= 0) {
t0 = imgCoordMungeUpper(mat[0] + mat[4]) - imgCoordMungeLower(mat[4]);
} else {