summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-21 16:28:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-21 16:28:30 +0000
commit107bbb3d271e19fe11d9abc89021c691f5d91602 (patch)
tree292de6725cd342f3d2ef16ff8e82171c3ff02a47
parenta29bda6ec883c9377e3fe450d21f543f3a48ff02 (diff)
fix for the options page translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@2027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/GTalkExt/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/src/options.cpp b/protocols/GTalkExt/src/options.cpp
index e64e23679c..7bcc325dab 100644
--- a/protocols/GTalkExt/src/options.cpp
+++ b/protocols/GTalkExt/src/options.cpp
@@ -255,16 +255,16 @@ void AddPopupsPage(WPARAM wParam)
Options_AddPage(wParam, &odp);
}
-void AddAccPage(LPCTSTR acc, LPCSTR mod, WPARAM wParam)
+void AddAccPage(LPTSTR acc, LPCSTR mod, WPARAM wParam)
{
OPTIONSDIALOGPAGE odp = {0};
odp.cbSize = sizeof(odp);
- odp.pszTitle = (LPSTR)acc;
+ odp.ptszTitle = acc;
odp.pfnDlgProc = AccOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_MAILSETTINGS);
odp.hInstance = hInst;
odp.ptszGroup = NETWORK_OPTIONS_GROUP;
- odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB;
+ odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE;
odp.ptszTab = MAIL_NOTIFICATIONS;
odp.dwInitParam = (LPARAM)mod;