summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-03 21:59:19 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-03 21:59:19 +0300
commitb5d430ee1b8f1a30a5fb3c44d18a369ae5566bb5 (patch)
tree84b762857df85a1081ba818eacba0a2d02a296bb /src/mir_core
parenteac7c468a6ef15d13477e6e5821bc53c2f9be845 (diff)
TreeOptions: translation fix
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/Windows/CCtrlTreeView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/Windows/CCtrlTreeView.cpp b/src/mir_core/src/Windows/CCtrlTreeView.cpp
index 4f4aeabf2f..c7c0fc19d8 100644
--- a/src/mir_core/src/Windows/CCtrlTreeView.cpp
+++ b/src/mir_core/src/Windows/CCtrlTreeView.cpp
@@ -355,7 +355,7 @@ void CCtrlTreeView::TranslateItem(HTREEITEM hItem)
TVITEMEX tvi;
wchar_t buf[128];
GetItem(hItem, &tvi, buf, _countof(buf));
- tvi.pszText = TranslateW_LP(tvi.pszText);
+ tvi.pszText = TranslateW_LP(tvi.pszText, m_parentWnd->GetPlugin());
SetItem(&tvi);
}