From 315b612a0c445306b7190b89c4589c7b8444dc7c Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 21 Jun 2018 13:52:52 +1000 Subject: Removed condition which is always true. --- src/Indicator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index eef4048e8..bc3c83a17 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; -- cgit v1.2.3