summaryrefslogtreecommitdiff
path: root/plugins/Svc_dbepp/settinglist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Svc_dbepp/settinglist.cpp')
-rw-r--r--plugins/Svc_dbepp/settinglist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Svc_dbepp/settinglist.cpp b/plugins/Svc_dbepp/settinglist.cpp
index 9225fe04a8..ab2f5652e0 100644
--- a/plugins/Svc_dbepp/settinglist.cpp
+++ b/plugins/Svc_dbepp/settinglist.cpp
@@ -858,7 +858,7 @@ void SettingsListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here
GetCursorPos(&pt);
hMenu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_CONTEXTMENU));
hSubMenu = GetSubMenu(hMenu, 6);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM) hSubMenu, 0);
+ TranslateMenu(hSubMenu);
if (!UDB)
RemoveMenu(hSubMenu, MENU_ADD_UNICODE, MF_BYCOMMAND);
@@ -953,7 +953,7 @@ void SettingsListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here
GetCursorPos(&pt);
hMenu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_CONTEXTMENU));
hSubMenu = GetSubMenu(hMenu, 0);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM) hSubMenu, 0);
+ TranslateMenu(hSubMenu);
lvi.mask = LVIF_IMAGE|LVIF_TEXT;
lvi.iItem = hti.iItem;