Skip to content

Commit

Permalink
backend/cocoa: Fix compiling error for ObjC
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Jan 21, 2024
1 parent ffb7e7a commit 5f1f432
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/cocoa/nvdialog_about_dialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -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<NSAboutPanelOptionKey, id> *raw = dialog->raw;
raw[NSAboutPanelOptionCredits] = @(license_link);
dialog->raw = raw;
}

void *nvd_about_dialog_get_raw_cocoa(NvdAboutDialog *dlg)
Expand Down

0 comments on commit 5f1f432

Please sign in to comment.