diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-20 21:55:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-20 21:55:27 +0000 |
commit | 2e3ad29da661db531a0f4954d1d9885c68854832 (patch) | |
tree | b962105898ef46c61a980b69672c1b6c186194b0 | |
parent | 9b7ffb84428971f27a6b6e71ff927b2bf240fca3 (diff) |
more correct variant of the fix for ODPF_DONTTRANSLATE
git-svn-id: http://svn.miranda-ng.org/main/trunk@2006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/options/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp index 994a10735a..8b4ee93f09 100644 --- a/src/modules/options/options.cpp +++ b/src/modules/options/options.cpp @@ -849,9 +849,9 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hdlg, UINT message, WPARAM wParam, L continue;
opd = dat->arOpd[i];
- TCHAR* ptszGroup = opd->getString(opd->ptszGroup);
+ TCHAR* ptszGroup = TranslateTH(opd->hLangpack, opd->ptszGroup);
TCHAR* ptszTitle = opd->getString(opd->ptszTitle);
- TCHAR* ptszTab = opd->getString(opd->ptszTab);
+ TCHAR* ptszTab = TranslateTH(opd->hLangpack, opd->ptszTab);
tvis.hParent = NULL;
if (FilterInst != NULL) {
@@ -1111,7 +1111,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hdlg, UINT message, WPARAM wParam, L if ( lstrcmp(opd->ptszTitle, p->ptszTitle) || lstrcmpnull(opd->ptszGroup, p->ptszGroup))
continue;
- tie.pszText = opd->getString(opd->ptszTab);
+ tie.pszText = TranslateTH(opd->hLangpack, opd->ptszTab);
tie.lParam = i;
TabCtrl_InsertItem(hwndTab, pages, &tie);
if ( !lstrcmp(opd->ptszTab, p->ptszTab))
|