https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6072ee976609ee5dd62d1…
commit 6072ee976609ee5dd62d123330f22bddc52dc521
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Fri Sep 17 19:15:31 2021 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Sep 19 00:17:03 2021 +0200
[BROWSEUI] Minor formatting.
---
dll/win32/browseui/CAutoComplete.cpp | 2 +-
dll/win32/browseui/CAutoComplete.h | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dll/win32/browseui/CAutoComplete.cpp b/dll/win32/browseui/CAutoComplete.cpp
index a6d6bc84817..2b33198a5fe 100644
--- a/dll/win32/browseui/CAutoComplete.cpp
+++ b/dll/win32/browseui/CAutoComplete.cpp
@@ -783,7 +783,7 @@ VOID CAutoComplete::SelectItem(INT iItem)
m_hwndList.EnsureVisible(iItem, FALSE);
}
-VOID CAutoComplete::DoAutoAppend(AC_THREAD *pThread)
+VOID CAutoComplete::DoAutoAppend(PAC_THREAD pThread)
{
if (!CanAutoAppend()) // can we auto-append?
return; // don't append
diff --git a/dll/win32/browseui/CAutoComplete.h b/dll/win32/browseui/CAutoComplete.h
index 586a878d154..af3bddabde7 100644
--- a/dll/win32/browseui/CAutoComplete.h
+++ b/dll/win32/browseui/CAutoComplete.h
@@ -219,7 +219,8 @@ protected:
WNDPROC m_fnOldEditProc; // old textbox procedure
EDITWORDBREAKPROCW m_fnOldWordBreakProc;
HANDLE m_hThread;
- AC_THREAD *m_pThread;
+ PAC_THREAD m_pThread;
+
// The following variables are non-POD:
CStringW m_strText; // internal text (used in selecting item and reverting text)
CStringW m_strStemText; // dirname + '\\'
@@ -231,6 +232,7 @@ protected:
CComPtr<IACList> m_pACList; // for IACList::Expand to update the list
CSimpleArray<CStringW> m_innerList; // inner list
CSimpleArray<CStringW> m_outerList; // outer list
+
// protected methods
VOID UpdateDropDownState();
VOID CalcRects(BOOL bDowner, RECT& rcListView, RECT& rcScrollBar, RECT&
rcSizeBox) const;
@@ -241,6 +243,7 @@ protected:
VOID ExtractInnerList(CSimpleArray<CStringW>& outerList,
const CSimpleArray<CStringW>& innerList,
const CString& strText);
+
// message map
BEGIN_MSG_MAP(CAutoComplete)
MESSAGE_HANDLER(AUTOCOMP_START, OnAutoCompStart)
@@ -261,6 +264,7 @@ protected:
MESSAGE_HANDLER(WM_TIMER, OnTimer)
MESSAGE_HANDLER(WM_VSCROLL, OnVScroll)
END_MSG_MAP()
+
// message handlers
LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
LRESULT OnNCDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);