diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-08-08 05:28:08 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-08-08 05:28:08 +0000 |
commit | 212d36e4fd71b88a427ecbc8e3c3536daf88de38 (patch) | |
tree | f3edc67100ad12cce67c560f604c971784990612 /protocols/VKontakte/src/vk_proto.cpp | |
parent | e53d2bd66b1b0bebcc355c165c1060a4490f01ab (diff) |
VKontakte:
fixed processing for ‘validation required’ error
change MessageBox -> MessageBoxW
change styles for some MessageBoxW
git-svn-id: http://svn.miranda-ng.org/main/trunk@17166 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 77388d3a51..0005edb867 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -463,8 +463,8 @@ void CVkProto::MsgPopup(MCONTACT hContact, const wchar_t *wszMsg, const wchar_t CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&ppd);
}
else {
- DWORD mtype = MB_OK | MB_SETFOREGROUND | MB_ICONSTOP;
- MessageBox(NULL, wszMsg, wszTitle, mtype);
+ DWORD mtype = MB_OK | MB_SETFOREGROUND | err ? MB_ICONERROR : MB_ICONINFORMATION;
+ MessageBoxW(NULL, wszMsg, wszTitle, mtype);
}
}
|