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)