summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
commitf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (patch)
tree18da75eb5431b7c913f6893a7dce98740436487b /plugins/AVS/src/utils.cpp
parent3079a6563ebc5887839ec29984206f2950638a4d (diff)
PathToRelativeT - forgotten macro
Diffstat (limited to 'plugins/AVS/src/utils.cpp')
-rw-r--r--plugins/AVS/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/utils.cpp b/plugins/AVS/src/utils.cpp
index 7fcbd8435f..a47b3f15c1 100644
--- a/plugins/AVS/src/utils.cpp
+++ b/plugins/AVS/src/utils.cpp
@@ -42,7 +42,7 @@ void MakePathRelative(MCONTACT hContact, wchar_t *path)
wchar_t szFinalPath[MAX_PATH];
szFinalPath[0] = '\0';
- size_t result = PathToRelativeT(path, szFinalPath, g_szDataPath);
+ size_t result = PathToRelativeW(path, szFinalPath, g_szDataPath);
if (result && szFinalPath[0] != '\0') {
db_set_ws(hContact, "ContactPhoto", "RFile", szFinalPath);
if (!db_get_b(hContact, "ContactPhoto", "Locked", 0))