From f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:24:00 +0300 Subject: PathToRelativeT - forgotten macro --- protocols/IcqOscarJ/src/icq_avatar.cpp | 2 +- protocols/IcqOscarJ/src/icqosc_svcs.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IcqOscarJ') diff --git a/protocols/IcqOscarJ/src/icq_avatar.cpp b/protocols/IcqOscarJ/src/icq_avatar.cpp index 0ba204700d..57616ecde7 100644 --- a/protocols/IcqOscarJ/src/icq_avatar.cpp +++ b/protocols/IcqOscarJ/src/icq_avatar.cpp @@ -1225,7 +1225,7 @@ void avatars_server_connection::handleAvatarFam(BYTE *pBuffer, size_t wBufferLen if (!pCookieData->hContact) { // our avatar, set filename wchar_t tmp[MAX_PATH * 2]; - PathToRelativeT(tszImageFile, tmp); + PathToRelativeW(tszImageFile, tmp); ppro->setWString(NULL, "AvatarFile", tmp); } else { // contact's avatar set hash diff --git a/protocols/IcqOscarJ/src/icqosc_svcs.cpp b/protocols/IcqOscarJ/src/icqosc_svcs.cpp index fad62bf3e7..55b78d8bfe 100644 --- a/protocols/IcqOscarJ/src/icqosc_svcs.cpp +++ b/protocols/IcqOscarJ/src/icqosc_svcs.cpp @@ -523,7 +523,7 @@ INT_PTR CIcqProto::SetMyAvatar(WPARAM, LPARAM lParam) debugLogA("Failed to save avatar hash."); wchar_t tmp[MAX_PATH]; - PathToRelativeT(tszMyFile, tmp); + PathToRelativeW(tszMyFile, tmp); setWString(NULL, "AvatarFile", tmp); SAFE_FREE((void**)&hash); } -- cgit v1.2.3