summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-08-11 08:25:38 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-08-11 08:25:38 +0000
commita137a713713078fe23839bd9c7688182b8606d0e (patch)
tree51e9ef02df64f4252d6ceaa6be58e3013e06d524
parentb250d5ebb55dd5013712b18d8442e70ef7693938 (diff)
VKontakte: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17175 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 0005edb867..b9e11dc2ca 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -463,7 +463,7 @@ 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 | err ? MB_ICONERROR : MB_ICONINFORMATION;
+ DWORD mtype = MB_OK | MB_SETFOREGROUND | (err ? MB_ICONERROR : MB_ICONINFORMATION);
MessageBoxW(NULL, wszMsg, wszTitle, mtype);
}
}