summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/utils.cpp
diff options
context:
space:
mode:
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))