aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authormitchell <unknown>2020-01-06 20:20:56 -0500
committermitchell <unknown>2020-01-06 20:20:56 -0500
commitf6e6731598a02121be850a17a12384090b40f1ac (patch)
tree5df339d665458d5e6878c292b8e79055951fef4d /gtk/PlatGTK.cxx
parenta7b57f9b5bb481c9b5b98dda13c0e9c44d26a237 (diff)
downloadscintilla-mirror-f6e6731598a02121be850a17a12384090b40f1ac.tar.gz
More synchronizing LongTerm3 with default.
Ideally this covers anything missed during the backport process.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rwxr-xr-xgtk/PlatGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 207c6ceba..97009d4ff 100755
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -516,7 +516,7 @@ void SurfaceImpl::RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesi
Point(rc.left, rc.bottom - 2),
Point(rc.left, rc.top + 2),
};
- Polygon(pts, ELEMENTS(pts), fore, back);
+ Polygon(pts, Sci::size(pts), fore, back);
} else {
RectangleDraw(rc, fore, back);
}