diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:15:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 22:15:29 +0000 |
commit | ec4498ee255a018ccb16061de4594618e7ab5690 (patch) | |
tree | 4d11ae3444c95fba70568b56897acee497a7e6f9 /plugins/UserInfoEx | |
parent | 12012a3ea4d58c6624f8065c2ca2afb96090b70f (diff) |
service call replaced with helper: MS_UTILS_PATHTORELATIVE
git-svn-id: http://svn.miranda-ng.org/main/trunk@3826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/ex_import/dlg_ExImOpenSaveFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/dlg_ExImOpenSaveFile.cpp b/plugins/UserInfoEx/src/ex_import/dlg_ExImOpenSaveFile.cpp index 14c6a0c261..c00751dabe 100644 --- a/plugins/UserInfoEx/src/ex_import/dlg_ExImOpenSaveFile.cpp +++ b/plugins/UserInfoEx/src/ex_import/dlg_ExImOpenSaveFile.cpp @@ -262,7 +262,7 @@ static VOID SaveInitialDir(LPSTR pszInitialDir) if (p = mir_strrchr(pszInitialDir, '\\')) {
*p = 0;
- if (CallService(MS_UTILS_PATHTORELATIVE, (WPARAM)pszInitialDir, (LPARAM)szRelative))
+ if ( PathToRelative(pszInitialDir, szRelative))
DB::Setting::WriteAString(0, MODNAME, "vCardPath", szRelative);
else
DB::Setting::WriteAString(0, MODNAME, "vCardPath", pszInitialDir);
|