From 2d88030291d591666ff2fa68d271d5637580eea6 Mon Sep 17 00:00:00 2001 From: Anixx Date: Sun, 4 Aug 2024 13:01:50 +0300 Subject: [PATCH] Update classic-file-picker-dialog.wh.cpp rename variales according to the new rules --- mods/classic-file-picker-dialog.wh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/classic-file-picker-dialog.wh.cpp b/mods/classic-file-picker-dialog.wh.cpp index 6c79dea00..bd7c80e94 100644 --- a/mods/classic-file-picker-dialog.wh.cpp +++ b/mods/classic-file-picker-dialog.wh.cpp @@ -48,7 +48,7 @@ long CALCON CFileOpenSave__s_CreateInstance_hook(int param_1, GUID *param_2, voi BOOL Wh_ModInit() { HMODULE module = LoadLibrary(L"comdlg32.dll"); - WindhawkUtils::SYMBOL_HOOK symbolHook[] = { + WindhawkUtils::SYMBOL_HOOK comdlg32DllHooks[] = { { {L"int" SCALCON L"IsCommonItemDialogAvailable(void)"}, (void**)&IsCommonItemDialogAvailable_orig, @@ -61,7 +61,7 @@ BOOL Wh_ModInit() { } }; - WindhawkUtils::HookSymbols(module, symbolHook, ARRAYSIZE(symbolHook)); + WindhawkUtils::HookSymbols(module, comdlg32DllHooks, ARRAYSIZE(comdlg32DllHooks)); return TRUE; }