summaryrefslogtreecommitdiff
path: root/plugins/ModernOpt/src/mopt_selector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ModernOpt/src/mopt_selector.cpp')
-rw-r--r--plugins/ModernOpt/src/mopt_selector.cpp2
1 files changed, 1 insertions, 1 deletions
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));