diff options
Diffstat (limited to 'plugins/ModernOpt/src')
-rw-r--r-- | plugins/ModernOpt/src/mopt_selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ModernOpt/src/mopt_selector.cpp b/plugins/ModernOpt/src/mopt_selector.cpp index f29e662a98..126622113a 100644 --- a/plugins/ModernOpt/src/mopt_selector.cpp +++ b/plugins/ModernOpt/src/mopt_selector.cpp @@ -97,7 +97,7 @@ struct TSkinListItem GetCurrentDirectory(SIZEOF(curPath), curPath);
path = (TCHAR *)mir_alloc(MAX_PATH * sizeof(TCHAR));
- CallService(MS_UTILS_PATHTORELATIVET, (WPARAM)curPath, (LPARAM)path);
+ PathToRelativeT(curPath, path);
int length = lstrlen(curPath)+lstrlen(fn)+2;
filename = (TCHAR *)mir_alloc(length * sizeof(TCHAR));
|