diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-29 06:39:22 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-29 06:39:22 +0000 |
commit | a5a3fe5b2700d075133da7c17c1e500605dba125 (patch) | |
tree | 92e0fdf2c56e685ed78a805c6ea270daebd564cc /protocols/VKontakte/src/vk_proto.cpp | |
parent | 7021acd12bc0ae847b7e3f00a63ef2a5f8e89843 (diff) |
VKontakte: deGetBufferize
git-svn-id: http://svn.miranda-ng.org/main/trunk@13889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index c8b4b5ed45..ae7bb7e818 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -83,7 +83,7 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) : m_iSyncHistoryMetod = (SyncHistoryMetod)getByte("SyncHistoryMetod", syncOff);
CMStringA szListeningTo(m_szModuleName);
szListeningTo += "Enabled";
- db_set_b(NULL, "ListeningTo", szListeningTo.GetBuffer(), m_iMusicSendMetod == 0 ? 0 : 1);
+ db_set_b(NULL, "ListeningTo", szListeningTo, m_iMusicSendMetod == 0 ? 0 : 1);
m_bNewsEnabled = getBool("NewsEnabled", false);
m_iMaxLoadNewsPhoto = getByte("MaxLoadNewsPhoto", 5);
@@ -548,8 +548,8 @@ void CVkProto::OnReceiveAuthRequest(NETLIBHTTPREQUEST *reply, AsyncHttpRequest * tszNick = ptrT(db_get_tsa(param->hContact, m_szModuleName, "Nick"));
if (tszNick.IsEmpty())
tszNick = TranslateT("(Unknown contact)");
- msg.AppendFormat(TranslateT("User %s added as friend"), tszNick.GetBuffer());
- MsgPopup(param->hContact, msg.GetBuffer(), tszNick.GetBuffer());
+ msg.AppendFormat(TranslateT("User %s added as friend"), tszNick);
+ MsgPopup(param->hContact, msg, tszNick);
}
}
else {
|