From b2e8a494c50aed30188fe9dbd185ddca1628f656 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Oct 2014 16:51:24 +0000 Subject: crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@10688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index ea60618fac..257f8a371c 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -85,7 +85,7 @@ MCONTACT __cdecl CToxProto::AddToList(int flags, PROTOSEARCHRESULT* psr) return NULL; } // set tox address as contact id - return AddContact(address, psr->email, flags & PALF_TEMPORARY); + return AddContact(address, _T(""), flags & PALF_TEMPORARY); } MCONTACT __cdecl CToxProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEvent) -- cgit v1.2.3