diff options
author | Neil <nyamatongwe@gmail.com> | 2018-06-21 13:52:52 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-06-21 13:52:52 +1000 |
commit | 9a9d7102f5054b678e2543964909d4435617fe38 (patch) | |
tree | a2027784ec66b21170450364e88fe4bccfea4151 /src/Indicator.cxx | |
parent | 59b2318b846ae04daf8ae77bf5be8708b397bf2b (diff) | |
download | scintilla-mirror-9a9d7102f5054b678e2543964909d4435617fe38.tar.gz |
Backport: Removed condition which is always true.
Backport of changeset 7057:dca791f48306.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r-- | src/Indicator.cxx | 3 |
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; |