From 4e41365b21ab782bd5e8ed1becf51d57b604064a Mon Sep 17 00:00:00 2001 From: Aggelos Tselios Date: Wed, 17 Jan 2024 20:08:23 +0200 Subject: [PATCH] backend/cocoa: Fix incorrect member access --- src/backend/cocoa/nvdialog_about_dialog.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/cocoa/nvdialog_about_dialog.m b/src/backend/cocoa/nvdialog_about_dialog.m index 85a2900..e66d48c 100644 --- a/src/backend/cocoa/nvdialog_about_dialog.m +++ b/src/backend/cocoa/nvdialog_about_dialog.m @@ -53,6 +53,6 @@ void nvd_about_dialog_set_licence_link_cocoa(NvdAboutDialog *dialog, const char void nvd_show_about_dialog_cocoa(NvdAboutDialog *dialog) { - [NSApp orderFrontStandardAboutPanelWithOptions: dialog->options]; - [dialog->options release]; + [NSApp orderFrontStandardAboutPanelWithOptions: dialog->raw]; + [dialog->raw release]; }