From ec4498ee255a018ccb16061de4594618e7ab5690 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Mar 2013 22:15:29 +0000 Subject: service call replaced with helper: MS_UTILS_PATHTORELATIVE git-svn-id: http://svn.miranda-ng.org/main/trunk@3826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ClientChangeNotify/src/Misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ClientChangeNotify/src') diff --git a/plugins/ClientChangeNotify/src/Misc.h b/plugins/ClientChangeNotify/src/Misc.h index 1dc43fbc51..9ef8337636 100644 --- a/plugins/ClientChangeNotify/src/Misc.h +++ b/plugins/ClientChangeNotify/src/Misc.h @@ -43,7 +43,7 @@ __inline TCString Path_ToRelative(TCString &Path) { CString Str; Str.GetBuffer(MAX_PATH); - CallService(MS_UTILS_PATHTORELATIVE, (WPARAM)(const char*)TCHAR2ANSI(Path), (LPARAM)(char*)Str); + PathToRelative(TCHAR2ANSI(Path), Str); Str.ReleaseBuffer(); return ANSI2TCHAR(Str); } -- cgit v1.2.3