From 6165d65054185f4117cb625eb738b96d3a7032ef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Jun 2013 20:04:15 +0000 Subject: - memory corruption fix; - fix for the annoying bug with going offline when a proto is actually online git-svn-id: http://svn.miranda-ng.org/main/trunk@4948 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Skype/src/skype_chat.cpp') diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp index 4276df71dc..600de624b2 100644 --- a/protocols/Skype/src/skype_chat.cpp +++ b/protocols/Skype/src/skype_chat.cpp @@ -1334,7 +1334,7 @@ void CSkypeProto:: UpdateChatUserNick(CContact::Ref contact) contact->GetPropFullname(data); ptrW nick(::mir_utf8decodeW(data)); if (data.length() == 0) - nick = sid; + nick = (WCHAR*)sid; GC_INFO gci = {0}; gci.Flags = BYINDEX | DATA; -- cgit v1.2.3