diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:52:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:52:26 +0000 |
commit | 427891e0d28becb428ae8435954399f2e4daa9fe (patch) | |
tree | d4ec79359e9b35293c3ff7ca25ccda6fd71f23b4 /plugins/VersionInfo | |
parent | ec4498ee255a018ccb16061de4594618e7ab5690 (diff) |
service call replaced with helper: MS_UTILS_PATHTOABSOLUTEW
git-svn-id: http://svn.miranda-ng.org/main/trunk@3827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/VersionInfo')
-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 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;
}
|