From 427891e0d28becb428ae8435954399f2e4daa9fe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Mar 2013 22:52:26 +0000 Subject: service call replaced with helper: MS_UTILS_PATHTOABSOLUTEW git-svn-id: http://svn.miranda-ng.org/main/trunk@3827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/image_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AVS') 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 ); -- cgit v1.2.3