From 0ef137c0a4005eca6de49e754cab136e052a6496 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 5 Jun 2017 01:31:27 +0200 Subject: Windows: Correctly open online help when selected in menu. Remove unused parameters to function AppLink. --- src/Setup/Wizard.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/Setup') diff --git a/src/Setup/Wizard.c b/src/Setup/Wizard.c index f6bb70a4..89be71a3 100644 --- a/src/Setup/Wizard.c +++ b/src/Setup/Wizard.c @@ -682,11 +682,7 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa { case IDC_DONATE: { - char tmpstr [200]; - - StringCbPrintfA (tmpstr, sizeof(tmpstr), "&ref=%d", DonColorSchemeId); - - Applink ("donate", FALSE, tmpstr); + Applink ("donate"); } return 1; } @@ -1160,7 +1156,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (bPromptReleaseNotes && AskYesNo ("AFTER_UPGRADE_RELEASE_NOTES", hwndDlg) == IDYES) { - Applink ("releasenotes", TRUE, ""); + Applink ("releasenotes"); } bPromptReleaseNotes = FALSE; @@ -1168,7 +1164,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (bPromptTutorial && AskYesNo ("AFTER_INSTALL_TUTORIAL", hwndDlg) == IDYES) { - Applink ("beginnerstutorial", TRUE, ""); + Applink ("beginnerstutorial"); } bPromptTutorial = FALSE; -- cgit v1.2.3