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/Scriver/chat/options.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugins/Scriver/chat/options.c') diff --git a/plugins/Scriver/chat/options.c b/plugins/Scriver/chat/options.c index 11ea14a12d..35be477e9d 100644 --- a/plugins/Scriver/chat/options.c +++ b/plugins/Scriver/chat/options.c @@ -780,18 +780,16 @@ static INT_PTR CALLBACK DlgProcOptionsPopup(HWND hwndDlg,UINT uMsg,WPARAM wParam static int OptionsInitialize(WPARAM wParam, LPARAM lParam) { - - OPTIONSDIALOGPAGE odp = {0}; - if(g_dat->popupInstalled) - { + if (g_dat->popupInstalled) { + OPTIONSDIALOGPAGE odp = {0}; odp.cbSize = sizeof(odp); odp.position = 910000002; odp.hInstance = g_hInst; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONSPOPUP); - odp.ptszTitle = LPGENT("Messaging"); - odp.ptszGroup = LPGENT("Popups"); + odp.pszTitle = LPGEN("Messaging"); + odp.pszGroup = LPGEN("Popups"); odp.pfnDlgProc = DlgProcOptionsPopup; - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; + odp.flags = ODPF_BOLDGROUPS; odp.ptszTab = NULL; Options_AddPage(wParam, &odp); } -- cgit v1.2.3