summaryrefslogtreecommitdiff
path: root/src/macos.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos.m')
-rw-r--r--src/macos.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macos.m b/src/macos.m
index 12575dd5..019533bd 100644
--- a/src/macos.m
+++ b/src/macos.m
@@ -369,6 +369,7 @@ void setupApplication_MacOS(void) {
369} 369}
370 370
371void enableMenu_MacOS(const char *menuLabel, iBool enable) { 371void enableMenu_MacOS(const char *menuLabel, iBool enable) {
372 menuLabel = translateCStr_Lang(menuLabel);
372 NSApplication *app = [NSApplication sharedApplication]; 373 NSApplication *app = [NSApplication sharedApplication];
373 NSMenu *appMenu = [app mainMenu]; 374 NSMenu *appMenu = [app mainMenu];
374 NSString *label = [NSString stringWithUTF8String:menuLabel]; 375 NSString *label = [NSString stringWithUTF8String:menuLabel];