summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-30 09:09:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-30 09:09:46 +0000
commit5871d7988221ba4335469d4961c6507bd8e52983 (patch)
tree2593756d974cd672b9930a316f891ade11a1a956 /plugins/TabSRMM/src/msgdialog.cpp
parent3c1054c6e0b2b8b505cb13d720256bc8b0386721 (diff)
- custom avatar processing removed completely, now avatar control takes charge for everything;
- avatar switching fixed in the info panel; - unneeded AvatarChanged handler removed; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@9989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 9537721493..ee9471ab64 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1639,12 +1639,10 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
rc.right = cx;
rc.bottom--;
- if (dat->bShowInfoAvatar && dat->hwndPanelPic) {
+ if (dat->bShowInfoAvatar) {
SetWindowPos(dat->hwndPanelPicParent, HWND_TOP, rc.left - 2, rc.top, rc.right - rc.left, (rc.bottom - rc.top) + 1, 0);
ShowWindow(dat->hwndPanelPicParent, (dat->panelWidth == -1) || !dat->Panel->isActive() ? SW_HIDE : SW_SHOW);
}
- else if (dat->hwndPanelPicParent)
- ShowWindow(dat->hwndPanelPicParent, SW_HIDE);
dat->rcPic = rc;