Skip to content

Commit

Permalink
backend/win32: Add support for user-specified icons on NvdAboutDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
tseli0s committed Jan 30, 2024
1 parent 37ad17c commit 39dd4da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/win32/nvdialog_about_dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void nvd_about_dialog_set_license_link_win32(NvdAboutDialog *dialog,
void nvd_show_about_dialog_win32(NvdAboutDialog *dialog) {
HICON app_icon = NULL;
if (dialog->image_name != NULL) {
// load icon
app_icon = nvd_load_hicon_win32(dialog->image_name);
NVD_ASSERT(app_icon != NULL);
}

int result = ShellAbout(nvd_get_parent(),
Expand Down

0 comments on commit 39dd4da

Please sign in to comment.