https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2cbb3ebdcb41eb523b005a...
commit 2cbb3ebdcb41eb523b005a1e942ed6585d9f9e43 Author: Joachim Henze Joachim.Henze@reactos.org AuthorDate: Tue Jul 6 23:27:32 2021 +0200 Commit: Joachim Henze Joachim.Henze@reactos.org CommitDate: Tue Jul 6 23:27:32 2021 +0200
[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;