From 54dec7a74c313ee61437386bd667f9a7653351fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Jun 2012 14:52:53 +0000 Subject: fixes for the options page translation git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/options.cpp | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'plugins/NewXstatusNotify/options.cpp') diff --git a/plugins/NewXstatusNotify/options.cpp b/plugins/NewXstatusNotify/options.cpp index 193fb56884..5fc13a53ad 100644 --- a/plugins/NewXstatusNotify/options.cpp +++ b/plugins/NewXstatusNotify/options.cpp @@ -1053,39 +1053,38 @@ int OptionsInitialize(WPARAM wParam, LPARAM lParam) odp.cbSize = sizeof(odp); odp.position = -100000000; odp.hInstance = hInst; - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; - odp.ptszTitle = LPGENT("Status Notify"); - odp.ptszGroup = LPGENT("Status"); - odp.ptszTab = LPGENT("General"); + odp.flags = ODPF_BOLDGROUPS; + odp.pszTitle = LPGEN("Status Notify"); + odp.pszGroup = LPGEN("Status"); + odp.pszTab = LPGEN("General"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_GENERAL); odp.pfnDlgProc = DlgProcGeneralOpts; - Options_AddPage(wParam,&odp); + Options_AddPage(wParam, &odp); - odp.ptszTab = LPGENT("Filtering"); + odp.pszTab = LPGEN("Filtering"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FILTERS); odp.pfnDlgProc = DlgProcFiltering; - Options_AddPage(wParam,&odp); + Options_AddPage(wParam, &odp); - odp.ptszTab = LPGENT("Message log"); + odp.pszTab = LPGEN("Message log"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_XLOG); odp.pfnDlgProc = DlgProcXLogOpts; Options_AddPage(wParam, &odp); - if (ServiceExists(MS_POPUP_ADDPOPUP)) - { - odp.ptszTitle = LPGENT("Status Notify"); - odp.ptszGroup = LPGENT("Popups"); - odp.ptszTab = LPGENT("General"); + if (ServiceExists(MS_POPUP_ADDPOPUP)) { + odp.pszTitle = LPGEN("Status Notify"); + odp.pszGroup = LPGEN("Popups"); + odp.pszTab = LPGEN("General"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP); odp.pfnDlgProc = DlgProcPopUpOpts; - Options_AddPage(wParam,&odp); + Options_AddPage(wParam, &odp); - odp.ptszTab = LPGENT("Extra status"); + odp.pszTab = LPGEN("Extra status"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_XPOPUP); odp.pfnDlgProc = DlgProcXPopupOpts; Options_AddPage(wParam, &odp); - odp.ptszTab = LPGENT("Status message"); + odp.pszTab = LPGEN("Status message"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SMPOPUP); odp.pfnDlgProc = DlgProcSMPopupOpts; Options_AddPage(wParam, &odp); -- cgit v1.2.3