From 56a880420ed22bbab92385f50773612faa0b7b61 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 7 Jun 2015 11:11:51 +0000 Subject: SkypeWeb: Crashfix. git-svn-id: http://svn.miranda-ng.org/main/trunk@14043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_avatars.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp index f3c8a4a154..0988f2a6d2 100644 --- a/protocols/SkypeWeb/src/skype_avatars.cpp +++ b/protocols/SkypeWeb/src/skype_avatars.cpp @@ -142,8 +142,9 @@ void CSkypeProto::GetAvatarFileName(MCONTACT hContact, TCHAR* pszDest, size_t cb void CSkypeProto::SetAvatarUrl(MCONTACT hContact, CMString &tszUrl) { ptrT oldUrl(getTStringA(hContact, "AvatarUrl")); - if (tszUrl == oldUrl) - return; + if (oldUrl != NULL) + if (tszUrl == oldUrl) + return; if (tszUrl.IsEmpty()) { delSetting(hContact, "AvatarUrl"); -- cgit v1.2.3