From ddeaa2e538908bf4460b0cfd1c7b77b8075b3ff3 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sun, 7 Aug 2022 20:28:30 +0300 Subject: [PATCH] Main: Fix typo --- ExplorerPatcher/dllmain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 573b1c3..db15f74 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -70,7 +70,7 @@ DWORD bOldTaskbar = TRUE; DWORD bWasOldTaskbarSet = FALSE; DWORD bAllocConsole = FALSE; DWORD bHideExplorerSearchBar = FALSE; -DWORD bShrinkExplorerAdressBar = FALSE; +DWORD bShrinkExplorerAddressBar = FALSE; DWORD bMicaEffectOnTitlebar = FALSE; DWORD bHideIconAndTitleInExplorer = FALSE; DWORD bHideControlCenterButton = FALSE; @@ -6105,7 +6105,7 @@ void WINAPI LoadSettings(LPARAM lParam) TEXT("ShrinkExplorerAddressBar"), 0, NULL, - &bShrinkExplorerAdressBar, + &bShrinkExplorerAddressBar, &dwSize ); dwSize = sizeof(DWORD); @@ -9501,7 +9501,7 @@ HWND Windows11v22H2_explorer_CreateWindowExW(DWORD dwExStyle, LPCWSTR lpClassNam #pragma region "Shrink File Explorer address bar height" int explorerframe_GetSystemMetricsForDpi(int nIndex, UINT dpi) { - if (bShrinkExplorerAdressBar && nIndex == SM_CYFIXEDFRAME) return 0; + if (bShrinkExplorerAddressBar && nIndex == SM_CYFIXEDFRAME) return 0; return GetSystemMetricsForDpi(nIndex, dpi); } #pragma endregion