summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-02 19:03:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-02 19:03:45 +0300
commit683d56877a29d057a61619d52a3cb1aa4e512851 (patch)
treea1c8331aed6c60e1ae4f6491ad1f7bd266ca2e51
parentda1cc0bffab6ca2b3ffe91c03d798e6f5d3af036 (diff)
related to #1241: fix for icon names' translation in Icon - Menu items
-rw-r--r--src/mir_app/src/menu_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/menu_utils.cpp b/src/mir_app/src/menu_utils.cpp
index dc9e92bcef..8f7167cf2b 100644
--- a/src/mir_app/src/menu_utils.cpp
+++ b/src/mir_app/src/menu_utils.cpp
@@ -1207,7 +1207,7 @@ int OnIconLibChanges(WPARAM, LPARAM)
static int MO_RegisterIcon(TMO_IntMenuItem *pmi, void*)
{
- wchar_t *descr = GetMenuItemText(pmi);
+ wchar_t *descr = pmi->mi.name.w;
if (!descr || pmi->hIcolibItem != nullptr || pmi->mi.uid == miid_last)
return FALSE;