diff options
Diffstat (limited to 'plugins/VersionInfo/src')
-rw-r--r-- | plugins/VersionInfo/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VersionInfo/src/utils.cpp b/plugins/VersionInfo/src/utils.cpp index bb63a3cf3f..79ab0b564e 100644 --- a/plugins/VersionInfo/src/utils.cpp +++ b/plugins/VersionInfo/src/utils.cpp @@ -98,10 +98,10 @@ TCHAR *AbsolutePathToRelative(TCHAR *szAbsolute, TCHAR *szRelative, size_t size) {
if (size < MAX_PATH) {
TCHAR buffer[MAX_PATH];
- CallService(MS_UTILS_PATHTORELATIVET, (WPARAM) szAbsolute, (LPARAM) szRelative);
+ PathToRelativeT(szAbsolute, szRelative);
_tcsncpy(szRelative, buffer, size);
}
- else CallService(MS_UTILS_PATHTORELATIVET, (WPARAM) szAbsolute, (LPARAM) szRelative);
+ else PathToRelativeT(szAbsolute, szRelative);
return szRelative;
}
|