summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/tox_avatars.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}