diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 01:31:27 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 01:41:47 +0200 |
commit | 0ef137c0a4005eca6de49e754cab136e052a6496 (patch) | |
tree | 2a9167ab7690c389e01723f4e7fcf9a6bfa1b10b /src/Mount | |
parent | bf13f88ffaef175bb6ff13beca30f76ed12bac6e (diff) | |
download | VeraCrypt-0ef137c0a4005eca6de49e754cab136e052a6496.tar.gz VeraCrypt-0ef137c0a4005eca6de49e754cab136e052a6496.zip |
Windows: Correctly open online help when selected in menu. Remove unused parameters to function AppLink.
Diffstat (limited to 'src/Mount')
-rw-r--r-- | src/Mount/Favorites.cpp | 2 | ||||
-rw-r--r-- | src/Mount/Mount.c | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/Mount/Favorites.cpp b/src/Mount/Favorites.cpp index ee34272f..171873f8 100644 --- a/src/Mount/Favorites.cpp +++ b/src/Mount/Favorites.cpp @@ -382,7 +382,7 @@ namespace VeraCrypt return 1; case IDC_FAVORITES_HELP_LINK: - Applink (SystemFavoritesMode ? "sysfavorites" : "favorites", TRUE, ""); + Applink (SystemFavoritesMode ? "sysfavorites" : "favorites"); return 1; case IDC_SHOW_PIM: HandleShowPasswordFieldAction (hwndDlg, IDC_SHOW_PIM, IDC_PIM, 0); diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index f55b7589..eca25c8f 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -3491,7 +3491,7 @@ BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM if (lw == IDC_LINK_HIDVOL_PROTECTION_INFO) { - Applink ("hiddenvolprotection", TRUE, ""); + Applink ("hiddenvolprotection"); } if (lw == IDCANCEL) @@ -7271,7 +7271,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa } else if (sel == IDM_HOMEPAGE_SYSTRAY) { - Applink ("home", TRUE, ""); + Applink ("home"); } else if (sel == IDCANCEL) { @@ -7898,7 +7898,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (lw == IDM_DONATE) { - Applink ("donate", TRUE, ""); + Applink ("donate"); return 1; } @@ -7910,17 +7910,17 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (lw == IDM_WEBSITE) { - Applink ("website", TRUE, ""); + Applink ("website"); return 1; } else if (lw == IDM_HOMEPAGE) { - Applink ("homepage", TRUE, ""); + Applink ("homepage"); return 1; } else if (lw == IDM_ONLINE_TUTORIAL) { - Applink ("tutorial", TRUE, ""); + Applink ("tutorial"); return 1; } else if (lw == IDM_ONLINE_HELP) @@ -7930,27 +7930,27 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa } else if (lw == IDM_FAQ) { - Applink ("faq", TRUE, ""); + Applink ("faq"); return 1; } else if (lw == IDM_TC_DOWNLOADS) { - Applink ("downloads", TRUE, ""); + Applink ("downloads"); return 1; } else if (lw == IDM_NEWS) { - Applink ("news", TRUE, ""); + Applink ("news"); return 1; } else if (lw == IDM_VERSION_HISTORY) { - Applink ("history", TRUE, ""); + Applink ("history"); return 1; } else if (lw == IDM_CONTACT) { - Applink ("contact", FALSE, ""); + Applink ("contact"); return 1; } @@ -10652,11 +10652,11 @@ static BOOL CALLBACK PerformanceSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM return 1; case IDC_MORE_INFO_ON_HW_ACCELERATION: - Applink ("hwacceleration", TRUE, ""); + Applink ("hwacceleration"); return 1; case IDC_MORE_INFO_ON_THREAD_BASED_PARALLELIZATION: - Applink ("parallelization", TRUE, ""); + Applink ("parallelization"); return 1; } |