diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-29 04:44:31 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-10-29 04:44:31 +0000 |
commit | 116c762e508fef30be544a9e07a2f89b33b481f6 (patch) | |
tree | 795a5a2ebac9c8a134fe5f4c905d612dc295128f /protocols/VKontakte/src/vk_avatars.cpp | |
parent | 120019609ad472cdfa973f641958db730a6b0873 (diff) |
VKontakte:
fix for news notification in clist
fix option dialog labels
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@15645 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_avatars.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp index 11386736ce..6f9529830b 100644 --- a/protocols/VKontakte/src/vk_avatars.cpp +++ b/protocols/VKontakte/src/vk_avatars.cpp @@ -118,10 +118,10 @@ INT_PTR CVkProto::SvcGetMyAvatar(WPARAM wParam, LPARAM lParam) PROTO_AVATAR_INFORMATION ai = { 0 };
if (SvcGetAvatarInfo(0, (LPARAM)&ai) != GAIR_SUCCESS)
return 1;
-
+
TCHAR* buf = (TCHAR*)wParam;
int size = (int)lParam;
-
+
_tcsncpy(buf, ai.filename, size);
buf[size - 1] = 0;
|