diff options
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index e4237fb1b..63eb9973f 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -803,11 +803,12 @@ sptr_t scintilla_send_message(void *sci, unsigned int iMessage, uptr_t wParam, s namespace { /** - * The animated find indicator fails with a "bogus layer size" message on macOS 10.13. + * The animated find indicator fails with a "bogus layer size" message on macOS 10.13 + * and causes drawing failures on macOS 10.12. */ bool SupportAnimatedFind() { - return floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_12_2; + return floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_12; } } |