diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-22 19:06:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-22 19:06:46 +0000 |
commit | c97a91315e8b3839cbe3658fd0f5fea878ff03f6 (patch) | |
tree | 70493e9596e1446bcd56e8ac41e8c0ca87549907 /src/modules | |
parent | 0676fb86d8ee519330f34bcd5abd2c7b9bda3343 (diff) |
fix for changing sub's icon
git-svn-id: http://svn.miranda-ng.org/main/trunk@9556 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index fd7324dfcf..e1242f8b87 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -604,11 +604,12 @@ static int Meta_SrmmIconClicked(WPARAM hMeta, LPARAM lParam) UINT res = TrackPopupMenu(hMenu, TPM_NONOTIFY | TPM_RETURNCMD | TPM_BOTTOMALIGN | TPM_LEFTALIGN, sicd->clickLocation.x, sicd->clickLocation.y, 0, cli.hwndContactTree, NULL);
if (res > 0) {
MCONTACT hChosen = Meta_GetContactHandle(cc, res - 1);
- db_mc_setDefault(cc->contactID, hChosen, true);
MetaSrmmData tmp = { cc->contactID };
if (MetaSrmmData *p = arMetaWindows.find(&tmp))
p->m_hSub = hChosen;
+
+ db_mc_setDefault(cc->contactID, hChosen, true);
}
return 0;
}
|