From 5f1f4320ffec523ca99284e22a03a7547b6e9343 Mon Sep 17 00:00:00 2001 From: Aggelos Tselios Date: Sun, 21 Jan 2024 12:11:31 +0200 Subject: [PATCH] backend/cocoa: Fix compiling error for ObjC --- src/backend/cocoa/nvdialog_about_dialog.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/cocoa/nvdialog_about_dialog.m b/src/backend/cocoa/nvdialog_about_dialog.m index 9f88f70..b780910 100644 --- a/src/backend/cocoa/nvdialog_about_dialog.m +++ b/src/backend/cocoa/nvdialog_about_dialog.m @@ -39,7 +39,9 @@ void nvd_about_dialog_set_licence_link_cocoa(NvdAboutDialog *dialog, const char *license_link, const char *txt) { (void)txt; - dialog->raw[NSAboutPanelOptionCredits] = @(license_link); + NSMutableDictionary *raw = dialog->raw; + raw[NSAboutPanelOptionCredits] = @(license_link); + dialog->raw = raw; } void *nvd_about_dialog_get_raw_cocoa(NvdAboutDialog *dlg)