diff --git a/ui/drivers/cocoa/cocoatouch_menu.m b/ui/drivers/cocoa/cocoatouch_menu.m index 3f4b3839ee..6b2b931d6f 100644 --- a/ui/drivers/cocoa/cocoatouch_menu.m +++ b/ui/drivers/cocoa/cocoatouch_menu.m @@ -429,7 +429,7 @@ replacementString:(NSString *)string field = [alertView textFieldAtIndex:0]; field.delegate = self.formatter; - menu_entry_get_value(self.i, buffer, sizeof(buffer)); + menu_entry_get_value(self.i, NULL, buffer, sizeof(buffer)); if (string_is_empty(buffer)) strlcpy(buffer, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE),