diff options
-rw-r--r-- | protocols/VKontakte/src/version.h | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 3 |
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;
|