diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-15 08:46:42 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-15 08:46:42 +0000 |
commit | 3142979bb604231a556d0173f0b2b90903399455 (patch) | |
tree | 9397d08749ccaa39cdc5ee39944f36274a53b756 /protocols/Skype/src/skype_dialogs.cpp | |
parent | 051a635f6b0046f9c63a5f457b39573b366e636d (diff) |
fixed crash when you did not select any contact for group chat creating
git-svn-id: http://svn.miranda-ng.org/main/trunk@4455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r-- | protocols/Skype/src/skype_dialogs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp index f6b6740ff7..2327d2e4ce 100644 --- a/protocols/Skype/src/skype_dialogs.cpp +++ b/protocols/Skype/src/skype_dialogs.cpp @@ -681,9 +681,11 @@ INT_PTR CALLBACK CSkypeProto::InviteToChatProc(HWND hwndDlg, UINT msg, WPARAM wP status);
}
}
+ if (chatID)
+ EndDialog(hwndDlg, IDOK);
+ else
+ param->ppro->ShowNotification(TranslateT("You did not select any contact"));
}
-
- EndDialog(hwndDlg, IDOK);
break;
case IDCANCEL:
|