Author: hbelusca Date: Wed Jan 18 21:03:46 2017 New Revision: 73581
URL: http://svn.reactos.org/svn/reactos?rev=73581&view=rev Log: [SHELL32]: Remove trailing whitespace.
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefaultC... ============================================================================== --- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Wed Jan 18 21:03:46 2017 @@ -41,7 +41,7 @@ { LPCSTR szStringVerb; UINT IntVerb; -} g_StaticInvokeCmdMap[] = +} g_StaticInvokeCmdMap[] = { { "RunAs", 0 }, // Unimplemented { "Print", 0 }, // Unimplemented @@ -566,7 +566,7 @@ LONG res = RegOpenKeyW(pEntry->hkClass, wszKey, &hkVerb); if (res == ERROR_SUCCESS) { - res = RegLoadMUIStringW(hkVerb, + res = RegLoadMUIStringW(hkVerb, NULL, wszVerb, cbVerb, @@ -576,7 +576,7 @@ if (res == ERROR_SUCCESS) { /* use description for the menu entry */ - mii.dwTypeData = wszVerb; + mii.dwTypeData = wszVerb; }
RegCloseKey(hkVerb); @@ -954,7 +954,7 @@ return pEntry; }
-//FIXME: 260 is correct, but should this be part of the SDK or just MAX_PATH? +// FIXME: 260 is correct, but should this be part of the SDK or just MAX_PATH? #define MAX_VERB 260
BOOL @@ -993,7 +993,7 @@ HRESULT CDefaultContextMenu::DoDynamicShellExtensions( LPCMINVOKECOMMANDINFO lpcmi) -{ +{ TRACE("verb %p first %x last %x", lpcmi->lpVerb, m_iIdSHEFirst, m_iIdSHELast);
UINT idCmd = LOWORD(lpcmi->lpVerb); @@ -1132,9 +1132,9 @@ /* Check if we need to browse */ if (wFlags > 0) { - /* In xp if we have browsed, we don't open any more folders . + /* In xp if we have browsed, we don't open any more folders. * In win7 we browse to the first folder we find and - * open new windows fo for each of the rest of the folders */ + * open new windows for each of the rest of the folders */ if (bBrowsed) continue;
@@ -1287,12 +1287,12 @@ return S_OK; }
-HRESULT -WINAPI +HRESULT +WINAPI CDefaultContextMenu::HandleMenuMsg2( - UINT uMsg, - WPARAM wParam, - LPARAM lParam, + UINT uMsg, + WPARAM wParam, + LPARAM lParam, LRESULT *plResult) { switch (uMsg) @@ -1340,8 +1340,8 @@ return S_OK; }
-HRESULT -WINAPI +HRESULT +WINAPI CDefaultContextMenu::GetSite(REFIID riid, void **ppvSite) { if (!m_site)