aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-06-21 13:52:52 +1000
committerNeil <nyamatongwe@gmail.com>2018-06-21 13:52:52 +1000
commit315b612a0c445306b7190b89c4589c7b8444dc7c (patch)
tree1d30afc6c50260d08e7efb5266a4d2e4dc72559c
parent3754f5cfe52357b43f4cf10753cce544c5abf288 (diff)
downloadscintilla-mirror-315b612a0c445306b7190b89c4589c7b8444dc7c.tar.gz
Removed condition which is always true.
-rw-r--r--src/Indicator.cxx3
1 files changed, 1 insertions, 2 deletions
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;