Browse Source

Symbols: Remove unneeded setting the keys to 0 because the tree is deleted anyway if the hash does not match

pull/2331/head 22621.2361.58.4_80f11ae
Amrsatrio 2 years ago
parent
commit
80f11ae4f9
  1. 3
      ExplorerPatcher/symbols.c

3
ExplorerPatcher/symbols.c

@ -85,7 +85,6 @@ static BOOL ProcessTwinuiPcshellSymbols(const char* pszSettingsPath, DWORD* pOff
return FALSE; return FALSE;
} }
DWORD dwZero = 0;
CHAR szHash[100]; CHAR szHash[100];
WCHAR wszPath[MAX_PATH]; 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"); //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( if (VnGetSymbols(
pszSettingsPath, pszSettingsPath,
pOffsets, 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"); 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( if (VnGetSymbols(
pszSettingsPath, pszSettingsPath,
pOffsets, pOffsets,

Loading…
Cancel
Save