diff options
-rw-r--r-- | src/macos.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos.m b/src/macos.m index d4b160fe..784a8612 100644 --- a/src/macos.m +++ b/src/macos.m | |||
@@ -570,7 +570,7 @@ static NSMenuItem *makeMenuItems_(NSMenu *menu, MenuCommands *commands, const iM | |||
570 | deinit_String(&itemTitle); | 570 | deinit_String(&itemTitle); |
571 | [item setTarget:commands]; | 571 | [item setTarget:commands]; |
572 | if (isChecked) { | 572 | if (isChecked) { |
573 | #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_13 | 573 | #if defined (__MAC_10_13) |
574 | [item setState:NSControlStateValueOn]; | 574 | [item setState:NSControlStateValueOn]; |
575 | #else | 575 | #else |
576 | [item setState:NSOnState]; | 576 | [item setState:NSOnState]; |