diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-06 07:52:46 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-06 07:52:46 +0000 |
commit | 7aa194b9f14d8f1520ee248b6dbc643bc57aefa9 (patch) | |
tree | 4a1e81885319625cfdeaa30a6ced3d26606d62f9 /protocols/VKontakte/src/vk_feed.cpp | |
parent | 890f005fb098f226924dd04eb402a8dc8490a753 (diff) |
VKontakte:
code cleanup and optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@12016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index c0e651ed77..9240e56dd2 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -30,9 +30,8 @@ void CVkProto::AddFeedSpecialUser() if (!hContact) {
hContact = FindUser(VK_FEED_USER, true);
- CMString tszNick = TranslateT("VKontakte");
- setTString(hContact, "Nick", tszNick.GetBuffer());
+ setTString(hContact, "Nick", TranslateT("VKontakte"));
CMString tszUrl = _T("https://vk.com/press/Simple.png");
SetAvatarUrl(hContact, tszUrl);
ReloadAvatarInfo(hContact);
|