diff options
author | Albert Astals Cid <aacid@kde.org> | 2014-04-06 15:59:43 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2014-04-06 16:08:15 +0200 |
commit | ca9713118d6ce3fdd245f9ca4f595229a5be19c3 (patch) | |
tree | d310a16c09cc0911b5e1a92c920560b6ae6be822 | |
parent | 0ef290a7c5a8fa54d3fe0f646abdf098443a7a67 (diff) |
Don't check twice for the same variable ^_^
CID #16804
-rw-r--r-- | splash/Splash.cc | 2 |
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 { |