From 4896bb4af6312343cec0ade365e9bf8115c50ffc Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 27 Sep 2014 13:17:21 +0000 Subject: Tox: avatar path fix git-svn-id: http://svn.miranda-ng.org/main/trunk@10614 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_avatars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index 714ee76473..747ce8f643 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -15,7 +15,7 @@ std::tstring CToxProto::GetAvatarFilePath(MCONTACT hContact) else if (id != NULL) mir_sntprintf(path, MAX_PATH, _T("%s\\%s avatar.png"), path, id); else - return NULL; + return _T(""); return path; } -- cgit v1.2.3