summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/include/infopanel.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-29 14:19:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-29 14:19:12 +0000
commitc1840425166576b1cf187076a9344a78a20375b6 (patch)
tree7c7e1d66219c7b2ed6b57a397ac67b3541aa127e /plugins/TabSRMM/include/infopanel.h
parentd80ee102fba0f99ad2ab0e0e734267f76b3b639e (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/include/infopanel.h')
-rw-r--r--plugins/TabSRMM/include/infopanel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/include/infopanel.h b/plugins/TabSRMM/include/infopanel.h
index 47e7345f53..85a38adbdd 100644
--- a/plugins/TabSRMM/include/infopanel.h
+++ b/plugins/TabSRMM/include/infopanel.h
@@ -79,7 +79,7 @@ public:
CTip (const HWND hwndParent, const HANDLE hContact, const TCHAR *pszText = 0, const CInfoPanel *panel = 0);
~CTip()
{
- if(m_pszText)
+ if (m_pszText)
mir_free(m_pszText);
}
void show (const RECT& rc, POINT& pt, const HICON hIcon = 0, const TCHAR *szTitle = 0);
@@ -135,7 +135,7 @@ public:
};
CInfoPanel(TWindowData *dat)
{
- if(dat) {
+ if (dat) {
m_dat = dat;
m_isChat = dat->bType == SESSIONTYPE_CHAT ? true : false;
}
@@ -148,7 +148,7 @@ public:
~CInfoPanel()
{
- if(m_hwndConfig)
+ if (m_hwndConfig)
::DestroyWindow(m_hwndConfig);
saveHeight(true);
}