summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_avatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_avatar.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_avatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/svc_avatar.cpp b/plugins/UserInfoEx/src/svc_avatar.cpp
index 450538e02f..129fc95084 100644
--- a/plugins/UserInfoEx/src/svc_avatar.cpp
+++ b/plugins/UserInfoEx/src/svc_avatar.cpp
@@ -177,7 +177,7 @@ namespace NServices
absolute[0] = '\0';
// check if file exists
- if (!CallService(MS_UTILS_PATHTOABSOLUTE, (WPARAM)dbv.pszVal, (LPARAM)absolute))
+ if ( !PathToAbsolute(dbv.pszVal, absolute))
{
FILE *f = fopen(absolute, "rb");
if (f) {