mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[SHLWAPI] Fix parameter ordering at call of AutoComplete_AdaptFlags
CORE-9281
This commit is contained in:
parent
bac45efe5d
commit
179da0b237
@ -170,8 +170,8 @@ AutoComplete_AdaptFlags(IN HWND hwndEdit,
|
||||
if (GetWindowLongPtrW(hwndEdit, GWL_EXSTYLE) & WS_EX_LAYOUTRTL)
|
||||
dwACO |= ACO_RTLREADING;
|
||||
|
||||
*pdwACO = dwACO;
|
||||
*pdwSHACF = dwSHACF;
|
||||
*pdwACO = dwACO;
|
||||
*pdwACLO = dwACLO;
|
||||
}
|
||||
|
||||
@ -192,8 +192,8 @@ HRESULT WINAPI SHAutoComplete(HWND hwndEdit, DWORD dwFlags)
|
||||
{
|
||||
TRACE("SHAutoComplete(%p, 0x%lX)\n", hwndEdit, dwFlags);
|
||||
|
||||
DWORD dwACO = 0, dwACLO = 0, dwSHACF = dwFlags;
|
||||
AutoComplete_AdaptFlags(hwndEdit, &dwACO, &dwACLO, &dwSHACF);
|
||||
DWORD dwSHACF = dwFlags, dwACO = 0, dwACLO = 0;
|
||||
AutoComplete_AdaptFlags(hwndEdit, &dwSHACF, &dwACO, &dwACLO);
|
||||
|
||||
// Load the list (with IEnumString interface)
|
||||
CComPtr<IUnknown> pList = AutoComplete_LoadList(dwSHACF, dwACLO);
|
||||
|
Loading…
Reference in New Issue
Block a user