diff options
Diffstat (limited to 'plugins/ClientChangeNotify/src/Misc.h')
-rw-r--r-- | plugins/ClientChangeNotify/src/Misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|