summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-22 22:08:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-22 22:08:23 +0300
commit1163cd367fc081b85e4ec56b0299775453395702 (patch)
treeca4b50b5bb2ea1ec26a95b156f58aa3c1217cf76 /protocols
parenteb6358318fc06c5d35f980a2dbd7e39b2748d4e5 (diff)
more correct fix version
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/version.h2
-rw-r--r--protocols/VKontakte/src/vk_avatars.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h
index f0f18e9211..937636ffbc 100644
--- a/protocols/VKontakte/src/version.h
+++ b/protocols/VKontakte/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 4
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#include <stdver.h>
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp
index 0bd3a7ff9b..af7e9680f4 100644
--- a/protocols/VKontakte/src/vk_avatars.cpp
+++ b/protocols/VKontakte/src/vk_avatars.cpp
@@ -152,8 +152,7 @@ void CVkProto::GetAvatarFileName(MCONTACT hContact, wchar_t *pwszDest, size_t cb
void CVkProto::SetAvatarUrl(MCONTACT hContact, CMStringW &wszUrl)
{
- ptrW oldUrl(getWStringA(hContact, "AvatarUrl"));
-
+ CMStringW oldUrl(ptrW(getWStringA(hContact, "AvatarUrl")));
if (wszUrl == oldUrl)
return;