aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2021-02-07 10:26:33 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2021-02-07 10:26:33 +1100
commitf5af58162f689c4159cb245d0aea9244aa972009 (patch)
tree5456f20b063441666243c971b7083bbd3fff729e
parentafef7b27d25b91bb3e446446b91519bcc3770876 (diff)
downloadscintilla-mirror-f5af58162f689c4159cb245d0aea9244aa972009.tar.gz
Made comment make sense.
-rw-r--r--cocoa/PlatCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index f30bc93e4..5eb5bf018 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1785,7 +1785,7 @@ PRectangle ListBoxImpl::GetDesiredRect() {
if (@available(macOS 11, *)) {
// macOS 11 requires some extra space possibly due to the rounded highlight.
// There may be a better way to discover how much space is required
- // but an 22 pixels fixes it for almost all tested cases.
+ // but an extra 22 pixels fixes it for almost all tested cases.
rcDesired.right += 22;
}