From 7477c55210e5f65f599923c633761cec21eb26ad Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 6 Nov 2015 18:15:02 +0000 Subject: Msg_Export: Fixed crash after r15554 (fixes #1082) git-svn-id: http://svn.miranda-ng.org/main/trunk@15690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Msg_Export/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 1b60d15d37..e8130b86dd 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -1441,5 +1441,5 @@ TCHAR* GetMyOwnNick(MCONTACT hContact) ci.cbSize = sizeof(ci); ci.szProto = GetContactProto(hContact); ci.dwFlag = CNF_DISPLAY | CNF_TCHAR; - return CallService(MS_CONTACT_GETCONTACTINFO, 0, LPARAM(&ci)) ? NULL : ci.pszVal; + return CallService(MS_CONTACT_GETCONTACTINFO, 0, LPARAM(&ci)) ? mir_tstrdup(TranslateT("No_Nick")) : ci.pszVal; } -- cgit v1.2.3