Skip to content

Commit

Permalink
backend/cocoa: Fix set_license_link function
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Jan 17, 2024
1 parent 4e41365 commit 761eb1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/backend/cocoa/nvdialog_about_dialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@

void nvd_about_dialog_set_licence_link_cocoa(NvdAboutDialog *dialog, const char *license_link, const char *txt)
{
/* TODO: Fix this */
/*
(void)txt;
dialog->options[NSAboutPanelOptionCredits] = @(license_link);
*/
dialog->raw[NSAboutPanelOptionCredits] = @(license_link);
}

void *nvd_about_dialog_get_raw_cocoa(NvdAboutDialog *dlg)
Expand Down

0 comments on commit 761eb1d

Please sign in to comment.