diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:15:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:15:29 +0000 |
commit | ec4498ee255a018ccb16061de4594618e7ab5690 (patch) | |
tree | 4d11ae3444c95fba70568b56897acee497a7e6f9 /plugins/VersionInfo/src | |
parent | 12012a3ea4d58c6624f8065c2ca2afb96090b70f (diff) |
service call replaced with helper: MS_UTILS_PATHTORELATIVE
git-svn-id: http://svn.miranda-ng.org/main/trunk@3826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|