summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-11-06 18:15:02 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-11-06 18:15:02 +0000
commit7477c55210e5f65f599923c633761cec21eb26ad (patch)
treec93f256224304bec24e9966c8beb1b71b04e18cb /plugins/Msg_Export
parentd989b542b674ee20ad94b43e8781197d3fca28ab (diff)
Msg_Export: Fixed crash after r15554 (fixes #1082)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}