mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-30 18:24:36 +01:00
Main: Fix typo
This commit is contained in:
parent
9fe862ed38
commit
ddeaa2e538
@ -70,7 +70,7 @@ DWORD bOldTaskbar = TRUE;
|
|||||||
DWORD bWasOldTaskbarSet = FALSE;
|
DWORD bWasOldTaskbarSet = FALSE;
|
||||||
DWORD bAllocConsole = FALSE;
|
DWORD bAllocConsole = FALSE;
|
||||||
DWORD bHideExplorerSearchBar = FALSE;
|
DWORD bHideExplorerSearchBar = FALSE;
|
||||||
DWORD bShrinkExplorerAdressBar = FALSE;
|
DWORD bShrinkExplorerAddressBar = FALSE;
|
||||||
DWORD bMicaEffectOnTitlebar = FALSE;
|
DWORD bMicaEffectOnTitlebar = FALSE;
|
||||||
DWORD bHideIconAndTitleInExplorer = FALSE;
|
DWORD bHideIconAndTitleInExplorer = FALSE;
|
||||||
DWORD bHideControlCenterButton = FALSE;
|
DWORD bHideControlCenterButton = FALSE;
|
||||||
@ -6105,7 +6105,7 @@ void WINAPI LoadSettings(LPARAM lParam)
|
|||||||
TEXT("ShrinkExplorerAddressBar"),
|
TEXT("ShrinkExplorerAddressBar"),
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
&bShrinkExplorerAdressBar,
|
&bShrinkExplorerAddressBar,
|
||||||
&dwSize
|
&dwSize
|
||||||
);
|
);
|
||||||
dwSize = sizeof(DWORD);
|
dwSize = sizeof(DWORD);
|
||||||
@ -9501,7 +9501,7 @@ HWND Windows11v22H2_explorer_CreateWindowExW(DWORD dwExStyle, LPCWSTR lpClassNam
|
|||||||
#pragma region "Shrink File Explorer address bar height"
|
#pragma region "Shrink File Explorer address bar height"
|
||||||
int explorerframe_GetSystemMetricsForDpi(int nIndex, UINT dpi)
|
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);
|
return GetSystemMetricsForDpi(nIndex, dpi);
|
||||||
}
|
}
|
||||||
#pragma endregion
|
#pragma endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user