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/AVS/src/image_utils.cpp | |
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/AVS/src/image_utils.cpp')
-rw-r--r-- | plugins/AVS/src/image_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/image_utils.cpp b/plugins/AVS/src/image_utils.cpp index 35cb33259a..4c1d830711 100644 --- a/plugins/AVS/src/image_utils.cpp +++ b/plugins/AVS/src/image_utils.cpp @@ -307,7 +307,7 @@ INT_PTR BmpFilterSaveBitmap(WPARAM wParam,LPARAM lParam) const char *szFile = (const char*)lParam;
char szFilename[MAX_PATH];
- if ( !CallService(MS_UTILS_PATHTOABSOLUTE, (WPARAM)szFile, (LPARAM)szFilename))
+ if ( !PathToAbsolute(szFile, szFilename))
mir_snprintf(szFilename, SIZEOF(szFilename), "%s", szFile);
int filenameLen = lstrlenA( szFilename );
@@ -324,7 +324,7 @@ INT_PTR BmpFilterSaveBitmapW(WPARAM wParam,LPARAM lParam) const wchar_t *wszFile = (const wchar_t *)lParam;
wchar_t wszFilename[MAX_PATH];
- if ( !CallService(MS_UTILS_PATHTOABSOLUTEW, (WPARAM)wszFile, (LPARAM)wszFilename))
+ if ( !PathToAbsoluteW(wszFile, wszFilename))
mir_sntprintf(wszFilename, SIZEOF(wszFilename), _T("%s"), wszFile);
int filenameLen = lstrlenW( wszFilename );
|