From b9c6f2f3a368274a21cee17d4e3ffe2f9980ec7d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Mar 2013 20:49:46 +0000 Subject: - minor optimizations; - code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@4116 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/infopanel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/infopanel.cpp') diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index 5399d5a9bb..f5e74af066 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -192,7 +192,7 @@ void CInfoPanel::showHide() const } Utils::showDlgControl(hwndDlg, IDC_PANELSPLITTER, m_active ? SW_SHOW : SW_HIDE); ::SendMessage(hwndDlg, WM_SIZE, 0, 0); - ::InvalidateRect(GetDlgItem(hwndDlg, IDC_CONTACTPIC), NULL, TRUE); + ::InvalidateRect( GetDlgItem(hwndDlg, IDC_CONTACTPIC), NULL, TRUE); ::SetAeroMargins(m_dat->pContainer); if (M->isAero()) ::InvalidateRect(GetParent(hwndDlg), NULL, FALSE); @@ -911,7 +911,7 @@ void CInfoPanel::showTip(UINT ctrlId, const LPARAM lParam) TCHAR szTitle[256]; HWND hwndDlg = m_dat->hwnd; - ::GetWindowRect(GetDlgItem(hwndDlg, ctrlId), &rc); + ::GetWindowRect( GetDlgItem(hwndDlg, ctrlId), &rc); ::SendMessage(m_dat->hwndTip, TTM_TRACKPOSITION, 0, (LPARAM)MAKELONG(rc.left, rc.bottom)); if (lParam) @@ -1333,7 +1333,7 @@ int CInfoPanel::invokeConfigDialog(const POINT& pt) TranslateDialogDefault(m_hwndConfig); ::GetClientRect(m_hwndConfig, &rc); - ::GetWindowRect(GetDlgItem(m_dat->hwnd, m_isChat ? IDC_CHAT_LOG : IDC_LOG), &rcLog); + ::GetWindowRect( GetDlgItem(m_dat->hwnd, m_isChat ? IDC_CHAT_LOG : IDC_LOG), &rcLog); pt.x = rcLog.left; pt.y = rcLog.top; //::ScreenToClient(m_dat->pContainer->hwnd, &pt); -- cgit v1.2.3