https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6093abdebb6bf4c1abf46acad4d3b01087fb4189
commit 6093abdebb6bf4c1abf46acad4d3b01087fb4189 Author: Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org> AuthorDate: Sun Apr 8 00:32:11 2018 +0200 Commit: Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org> CommitDate: Sun Apr 8 00:36:51 2018 +0200 [EXPLORER] Remove trailing whitespace. --- base/shell/explorer/explorer.cpp | 4 ++-- base/shell/explorer/taskswnd.cpp | 2 +- base/shell/explorer/traywnd.cpp | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/base/shell/explorer/explorer.cpp b/base/shell/explorer/explorer.cpp index f6e7402423..a596da1db7 100644 --- a/base/shell/explorer/explorer.cpp +++ b/base/shell/explorer/explorer.cpp @@ -87,7 +87,7 @@ HideMinimizedWindows(IN BOOL bHide) #endif #if !WIN7_COMPAT_MODE -static INT +static INT StartWithCommandLine(IN HINSTANCE hInstance) { BOOL b = FALSE; @@ -109,7 +109,7 @@ StartWithCommandLine(IN HINSTANCE hInstance) } #endif -static INT +static INT StartWithDesktop(IN HINSTANCE hInstance) { InitializeAtlModule(hInstance, TRUE); diff --git a/base/shell/explorer/taskswnd.cpp b/base/shell/explorer/taskswnd.cpp index 60b047a7dc..fe8ec05ac6 100644 --- a/base/shell/explorer/taskswnd.cpp +++ b/base/shell/explorer/taskswnd.cpp @@ -125,7 +125,7 @@ public: if (m_bThreadRunning) { /* Try to unstuck Show */ - PostThreadMessage(m_ThreadId, WM_QUIT, 0, 0); + PostThreadMessage(m_ThreadId, WM_QUIT, 0, 0); DWORD ret = WaitForSingleObject(m_hThread, 3*1000); if (ret == WAIT_TIMEOUT) TerminateThread(m_hThread, 0); diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index 47da09b558..2bbe3c5d61 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -544,7 +544,7 @@ public: case IDHK_EXPLORE: //FIXME: We don't support this yet: //ShellExecuteW(0, L"explore", NULL, NULL, NULL, 1); - ShellExecuteW(0, NULL, L"explorer.exe", L"/e ,", NULL, 1); + ShellExecuteW(0, NULL, L"explorer.exe", L"/e ,", NULL, 1); break; case IDHK_FIND: SHFindFiles(NULL, NULL); @@ -1311,8 +1311,8 @@ ChangePos: FitToRebar(&m_TrayRects[m_Position]); /* Move the tray window */ - /* The handler of WM_WINDOWPOSCHANGING will override whatever size - *and position we use here with m_TrayRects */ + /* The handler of WM_WINDOWPOSCHANGING will override whatever size + * and position we use here with m_TrayRects */ SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOACTIVATE); ResizeWorkArea(); ApplyClipping(TRUE); @@ -2012,7 +2012,7 @@ ChangePos: if (!m_ContextMenu) return E_INVALIDARG; - return m_ContextMenu->GetCommandString(idCmd, uType, pwReserved, pszName, cchMax); + return m_ContextMenu->GetCommandString(idCmd, uType, pwReserved, pszName, cchMax); } @@ -2396,7 +2396,7 @@ ChangePos: LRESULT OnNcLButtonDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { - /* This handler implements the trick that makes the start button to + /* This handler implements the trick that makes the start button to get pressed when the user clicked left or below the button */ POINT pt = {GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)}; @@ -2705,14 +2705,14 @@ HandleTrayContextMenu: RECT rc; ::GetWindowRect(m_hWnd, &rc); - SIZE szWindow = { - rc.right - rc.left, + SIZE szWindow = { + rc.right - rc.left, rc.bottom - rc.top }; - SIZE szTarget = { - as->rcTarget.right - as->rcTarget.left, + SIZE szTarget = { + as->rcTarget.right - as->rcTarget.left, as->rcTarget.bottom - as->rcTarget.top }; - SIZE szActual = { - as->rcActual.right - as->rcActual.left, + SIZE szActual = { + as->rcActual.right - as->rcActual.left, as->rcActual.bottom - as->rcActual.top }; SIZE borders = { @@ -2976,7 +2976,7 @@ public: return S_OK; } - virtual HRESULT STDMETHODCALLTYPE + virtual HRESULT STDMETHODCALLTYPE QueryContextMenu(HMENU hPopup, UINT indexMenu, UINT idCmdFirst,