From 80f11ae4f91b8137fd8de732717405849d2ec04b Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Wed, 11 Oct 2023 15:37:42 +0700 Subject: [PATCH] Symbols: Remove unneeded setting the keys to 0 because the tree is deleted anyway if the hash does not match --- ExplorerPatcher/symbols.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ExplorerPatcher/symbols.c b/ExplorerPatcher/symbols.c index 7389af54d..057f38863 100644 --- a/ExplorerPatcher/symbols.c +++ b/ExplorerPatcher/symbols.c @@ -85,7 +85,6 @@ static BOOL ProcessTwinuiPcshellSymbols(const char* pszSettingsPath, DWORD* pOff return FALSE; } - DWORD dwZero = 0; CHAR szHash[100]; WCHAR wszPath[MAX_PATH]; @@ -152,7 +151,6 @@ static BOOL ProcessTwinuiPcshellSymbols(const char* pszSettingsPath, DWORD* pOff } //printf("[Symbols] Hooking Win+C is not available in this build.\n"); - RegSetValueExW(hKey, TEXT(TWINUI_PCSHELL_SB_8), 0, REG_DWORD, &dwZero, sizeof(DWORD)); if (VnGetSymbols( pszSettingsPath, pOffsets, @@ -161,7 +159,6 @@ static BOOL ProcessTwinuiPcshellSymbols(const char* pszSettingsPath, DWORD* pOff )) { printf("[Symbols] Windows 10 window switcher style may not be available in this build.\n"); - RegSetValueExW(hKey, TEXT(TWINUI_PCSHELL_SB_7), 0, REG_DWORD, &dwZero, sizeof(DWORD)); if (VnGetSymbols( pszSettingsPath, pOffsets,