diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-18 10:10:25 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-04-18 10:10:25 +0000 |
commit | 3bf31e0a0f3332fe8c150c24cd79da6d8acca722 (patch) | |
tree | 527758e5d1bad946017f9774163a3aa779953a77 /src/modules/metacontacts/meta_addto.cpp | |
parent | 9488fce53a0784c99c744d6652fc7a8da6749aeb (diff) |
metacontacts:
-fixed a rare crash
-some ressource fixes
-code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9000 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_addto.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_addto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_addto.cpp b/src/modules/metacontacts/meta_addto.cpp index 98d1a310e8..696b375237 100644 --- a/src/modules/metacontacts/meta_addto.cpp +++ b/src/modules/metacontacts/meta_addto.cpp @@ -170,7 +170,7 @@ static INT_PTR CALLBACK Meta_SelectDialogProc(HWND hwndDlg, UINT msg, WPARAM wPa switch (LOWORD(wParam)) {
case IDOK:
{
- int item = SendMessage(GetDlgItem(hwndDlg, IDC_METALIST), LB_GETCURSEL, 0, 0); // Get the index of the selected metacontact
+ int item = SendDlgItemMessage(hwndDlg, IDC_METALIST, LB_GETCURSEL, 0, 0); // Get the index of the selected metacontact
if (item == -1)
return IDOK == MessageBox(hwndDlg, TranslateT("Please select a MetaContact"), TranslateT("No MetaContact selected"), MB_ICONHAND);
|