aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Indicator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index 224083c31..b62abaa08 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -48,8 +48,7 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r
surface->MoveTo(x, irc.top + y);
while (x < xLast) {
if ((x + 2) > xLast) {
- if (xLast > x)
- y = 1;
+ y = 1;
x = xLast;
} else {
x += 2;