From f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:24:00 +0300 Subject: PathToRelativeT - forgotten macro --- plugins/ModernOpt/src/mopt_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ModernOpt/src') diff --git a/plugins/ModernOpt/src/mopt_selector.cpp b/plugins/ModernOpt/src/mopt_selector.cpp index 6af988e4ae..e00abd2efd 100644 --- a/plugins/ModernOpt/src/mopt_selector.cpp +++ b/plugins/ModernOpt/src/mopt_selector.cpp @@ -89,7 +89,7 @@ struct TSkinListItem GetCurrentDirectory(_countof(curPath), curPath); path = (wchar_t *)mir_alloc(MAX_PATH * sizeof(wchar_t)); - PathToRelativeT(curPath, path); + PathToRelativeW(curPath, path); size_t length = mir_wstrlen(curPath) + mir_wstrlen(fn) + 2; filename = (wchar_t *)mir_alloc(length * sizeof(wchar_t)); -- cgit v1.2.3