From 8ff87302691c7cd52b50d279e653732e1a00b97c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jun 2012 09:09:11 +0000 Subject: =?UTF-8?q?fix=20for=20crash=20in=20NEN=20options=E2=80=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewEventNotify/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/NewEventNotify/options.cpp') diff --git a/plugins/NewEventNotify/options.cpp b/plugins/NewEventNotify/options.cpp index 834fb07474..2e22a9f5cd 100644 --- a/plugins/NewEventNotify/options.cpp +++ b/plugins/NewEventNotify/options.cpp @@ -296,14 +296,14 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, L int OptionsAdd(HINSTANCE hInst, WPARAM addInfo) { - OPTIONSDIALOGPAGE odp; if (ServiceExists(MS_POPUP_ADDPOPUP)) { + OPTIONSDIALOGPAGE odp = { 0 }; odp.cbSize = sizeof(odp); odp.hInstance = hInst; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT); - odp.ptszTitle = TranslateT(OPTIONS_TITLE); - odp.ptszGroup = TranslateT(OPTIONS_GROUP); - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; + odp.pszTitle = LPGEN("Event Notify"); + odp.pszGroup = LPGEN("PopUps"); + odp.flags = ODPF_BOLDGROUPS; odp.pfnDlgProc = OptionsDlgProc; Options_AddPage( addInfo, &odp); } -- cgit v1.2.3