summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-05 13:06:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-05 13:06:24 +0000
commit64453022c1209aea6ffc534cee4e0f7b52535b76 (patch)
tree88e910e5a575980773ac186ca54e85d761b2ac5f /plugins/TabSRMM/src
parent5b5815acb8dd1d70630dc1767aabf364f8d5af6d (diff)
fix for the wrong sub choosing when displaying an avatar in the info panel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10070 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index b6ea38b281..a241e0759d 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -540,7 +540,7 @@ void TSAPI ProcessAvatarChange(HWND hwnd, LPARAM lParam)
if (!dat)
return;
- dat->ace = Utils::loadAvatarFromAVS(dat->hContact);
+ dat->ace = Utils::loadAvatarFromAVS(dat->cache->getActiveContact());
GetAvatarVisibility(hwndDlg, dat);
ShowPicture(dat, TRUE);