From 2cbb3ebdcb41eb523b005a1e942ed6585d9f9e43 Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Tue, 6 Jul 2021 23:27:32 +0200 Subject: [PATCH] [SHELL32] EOL-white-space-fixes dialogs.cpp Exclusively touching code that was recently added during 0.4.15-dev'ing. --- dll/win32/shell32/dialogs/dialogs.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dll/win32/shell32/dialogs/dialogs.cpp b/dll/win32/shell32/dialogs/dialogs.cpp index 855b4ed16f9..475f5e8fa58 100644 --- a/dll/win32/shell32/dialogs/dialogs.cpp +++ b/dll/win32/shell32/dialogs/dialogs.cpp @@ -1183,7 +1183,7 @@ BOOL DrawIconOnOwnerDrawnButtons(DRAWITEMSTRUCT* pdis, PLOGOFF_DLG_CONTEXT pCont y = BUTTON_SWITCH_USER_FOCUSED; } - /* + /* * Since switch user functionality isn't implemented yet therefore the button has been disabled * temporarily hence show the disabled state */ @@ -1412,7 +1412,6 @@ static VOID FancyLogoffOnInit(HWND hwnd, PLOGOFF_DLG_CONTEXT pContext) * * NOTES: Used to make the Log Off dialog work */ - INT_PTR CALLBACK LogOffDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { DRAWITEMSTRUCT* pdis = (DRAWITEMSTRUCT*)lParam; @@ -1533,12 +1532,11 @@ EXTERN_C int WINAPI LogoffWindowsDialog(HWND hWndOwner) WCHAR szBuffer[30]; DWORD LogoffDialogID = IDD_LOG_OFF; LOGOFF_DLG_CONTEXT Context; - + if (!CallShellDimScreen(&fadeHandler, &parent)) parent = hWndOwner; Context.bFriendlyUI = IsFriendlyUIActive(); - if (Context.bFriendlyUI) { LogoffDialogID = IDD_LOG_OFF_FANCY;