summaryrefslogtreecommitdiff
path: root/plugins/VersionInfo/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VersionInfo/src/utils.cpp')
-rw-r--r--plugins/VersionInfo/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VersionInfo/src/utils.cpp b/plugins/VersionInfo/src/utils.cpp
index 79ab0b564e..b89eb94a46 100644
--- a/plugins/VersionInfo/src/utils.cpp
+++ b/plugins/VersionInfo/src/utils.cpp
@@ -86,10 +86,10 @@ TCHAR *RelativePathToAbsolute(TCHAR *szRelative, TCHAR *szAbsolute, size_t size)
{
if (size < MAX_PATH) {
TCHAR buffer[MAX_PATH]; //new path should be at least MAX_PATH chars
- CallService(MS_UTILS_PATHTOABSOLUTET, (WPARAM) szRelative, (LPARAM) buffer);
+ PathToAbsoluteT(szRelative, buffer);
_tcsncpy(szAbsolute, buffer, size);
}
- else CallService(MS_UTILS_PATHTOABSOLUTET, (WPARAM) szRelative, (LPARAM) szAbsolute);
+ else PathToAbsoluteT(szRelative, szAbsolute);
return szAbsolute;
}