summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-06-05 21:10:26 +0200
committerAlbert Astals Cid <aacid@kde.org>2019-06-05 21:15:03 +0200
commit024dd8d2bd58ded2457581fc2e6eea5ecc664c45 (patch)
treeed8af6eacef12c85a7ddd387c3dc02a68f934fe8 /splash
parentf9ab3afbb4c1129813eec68c5914ad1796484daf (diff)
adjustLine -> doAdjustLine
fixes shadow warning
Diffstat (limited to 'splash')
-rw-r--r--splash/Splash.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index 24bdce7b..dea728dd 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -2590,16 +2590,16 @@ SplashError Splash::fillWithPattern(SplashPath *path, bool eo,
state->clip->clipAALine(aaBuf, &x0, &x1, y, thinLineMode != splashThinLineDefault && xMinI == xMaxI);
}
unsigned char lineShape = 255;
- bool adjustLine = false;
+ bool doAdjustLine = false;
if (thinLineMode == splashThinLineShape && (xMinI == xMaxI || yMinI == yMaxI)) {
// compute line shape for thin lines:
SplashCoord mx, my, delta;
transform(state->matrix, 0, 0, &mx, &my);
transform(state->matrix, state->lineWidth, 0, &delta, &my);
- adjustLine = true;
+ doAdjustLine = true;
lineShape = clip255((delta - mx) * 255);
}
- drawAALine(&pipe, x0, x1, y, adjustLine, lineShape);
+ drawAALine(&pipe, x0, x1, y, doAdjustLine, lineShape);
}
} else {
for (y = yMinI; y <= yMaxI; ++y) {