Remove Windows shell integration checks for Windows Vista.

Tag #22.
This commit is contained in:
wolfbeast
2018-02-19 16:28:18 +01:00
parent 01b1e411bd
commit 4f82d71df0
3 changed files with 7 additions and 26 deletions
@@ -648,11 +648,6 @@ nsWindowsShellService::LaunchControlPanelDefaultsSelectionUI()
nsresult
nsWindowsShellService::LaunchControlPanelDefaultPrograms()
{
// This Default Programs feature is Win7+ only.
if (!IsWin7OrLater()) {
return NS_ERROR_FAILURE;
}
// Build the path control.exe path safely
WCHAR controlEXEPath[MAX_PATH + 1] = { '\0' };
if (!GetSystemDirectoryW(controlEXEPath, MAX_PATH)) {