From 969413e5d93b07ac9bea4e35b534dccbe0238bee Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 10 Dec 2021 00:39:22 +0200 Subject: [PATCH] Fixed #541 (rename ShowLegacyClockExpierience to ShowLegacyClockExperience) --- ExplorerPatcher/dllmain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 359f672..0e42acb 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -1657,7 +1657,7 @@ DWORD ShouldShowLegacyClockExperience() } return 0; } -BOOL ShowLegacyClockExpierience(HWND hWnd) +BOOL ShowLegacyClockExperience(HWND hWnd) { if (!hWnd) { @@ -1701,7 +1701,7 @@ INT64 ClockButtonSubclassProc( { if (!FindWindowW(L"ClockFlyoutWindow", NULL)) { - return ShowLegacyClockExpierience(hWnd); + return ShowLegacyClockExperience(hWnd); } else { @@ -2809,7 +2809,7 @@ INT64 winrt_Windows_Internal_Shell_implementation_MeetAndChatManager_OnMessageHo { if (!FindWindowW(L"ClockFlyoutWindow", NULL)) { - return ShowLegacyClockExpierience(FindWindowExW(FindWindowExW(hShellTray_Wnd, NULL, L"TrayNotifyWnd", NULL), NULL, L"TrayClockWClass", NULL)); + return ShowLegacyClockExperience(FindWindowExW(FindWindowExW(hShellTray_Wnd, NULL, L"TrayNotifyWnd", NULL), NULL, L"TrayClockWClass", NULL)); } else { @@ -2843,7 +2843,7 @@ INT64 winrt_Windows_Internal_Shell_implementation_MeetAndChatManager_OnMessageHo { if (!FindWindowW(L"ClockFlyoutWindow", NULL)) { - return ShowLegacyClockExpierience(hWnd); + return ShowLegacyClockExperience(hWnd); } else {