diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-14 14:13:13 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-14 14:13:13 +1000 |
commit | c4aa7826f3d2178e39e5bff2f6886d7d3d3f46d7 (patch) | |
tree | e5f93f314c700da99e6c54f590d034645c73a111 /src/Indicator.cxx | |
parent | 3fc8c97d80a6797e60e6b203c9b4aa9d553df8a7 (diff) | |
download | scintilla-mirror-c4aa7826f3d2178e39e5bff2f6886d7d3d3f46d7.tar.gz |
Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t for
Polygon and delete the standard copy and assignment methods.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r-- | src/Indicator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 0df7d7776..91f98ac58 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -190,7 +190,7 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r Point(ix + pixelHeight, iy + pixelHeight), // Right Point(ix, iy) // Top }; - surface->Polygon(pts, 3, sacDraw.fore, sacDraw.fore); + surface->Polygon(pts, std::size(pts), sacDraw.fore, sacDraw.fore); } } else { // Either INDIC_PLAIN or unknown surface->MoveTo(irc.left, ymid); |