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_chats.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_chats.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index a60a8c3274..fbfbca0e3c 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -591,9 +591,9 @@ void CVkProto::LogMenuHook(CVkChatInfo *cc, GCHOOK *gch) break;
case IDM_DESTROY:
- if (IDYES == MessageBox(NULL,
+ if (IDYES == MessageBoxW(NULL,
TranslateT("This chat is going to be destroyed forever with all its contents. This action cannot be undone. Are you sure?"),
- TranslateT("Warning"), MB_YESNOCANCEL | MB_ICONQUESTION))
+ TranslateT("Warning"), MB_YESNO | MB_ICONQUESTION))
{
CMStringA code;
code.Format("API.messages.removeChatUser({\"chat_id\":%d, \"user_id\":%d});"
|