diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_status.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_status.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_status.cpp b/protocols/VKontakte/src/vk_status.cpp index e7e335be2a..c723fad766 100644 --- a/protocols/VKontakte/src/vk_status.cpp +++ b/protocols/VKontakte/src/vk_status.cpp @@ -188,7 +188,7 @@ void CVkProto::RetrieveStatusMusic(const CMStringW &StatusMsg) code = "API.audio.setBroadcast();return null;";
else {
CMStringW codeformat("API.status.set({text:\"%s\"});return null;");
- code.AppendFormat(codeformat, wszOldStatusMsg);
+ code.AppendFormat(codeformat, wszOldStatusMsg.c_str());
}
m_bSetBroadcast = false;
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/execute.json", true, &CVkProto::OnReceiveStatus)
|