diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-03-19 16:50:38 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-03-19 16:50:38 +0500 |
commit | 100badfbc7d633078f25fb4b9ecd7350140e1dfa (patch) | |
tree | d3f21d045f6a5b1b66390f7dc7c143d1f160afd6 /protocols/VKontakte/src/vk_proto.cpp | |
parent | fbe3739da349afbb2e42bc6c1ce5a20b657289ac (diff) |
VKontakte: fix warning C4840 in MSVS 2017
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 145f7545ee..45b68efee4 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -596,7 +596,7 @@ void CVkProto::OnReceiveAuthRequest(NETLIBHTTPREQUEST *reply, AsyncHttpRequest * wszNick(ptrW(db_get_wsa(param->hContact, m_szModuleName, "Nick")));
if (wszNick.IsEmpty())
wszNick = TranslateT("(Unknown contact)");
- msg.AppendFormat(TranslateT("User %s added as friend"), wszNick);
+ msg.AppendFormat(TranslateT("User %s added as friend"), wszNick.c_str());
MsgPopup(param->hContact, msg, wszNick);
}
}
|