From 7c65ece16e7d5b47ce2ee149ea4d7c259a997eab Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 4 Dec 2012 05:35:40 +0000 Subject: Translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoShutdown/src/options.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'plugins/AutoShutdown/src/options.cpp') diff --git a/plugins/AutoShutdown/src/options.cpp b/plugins/AutoShutdown/src/options.cpp index 007b7668b6..0db48e2a6f 100644 --- a/plugins/AutoShutdown/src/options.cpp +++ b/plugins/AutoShutdown/src/options.cpp @@ -103,18 +103,17 @@ static INT_PTR CALLBACK ShutdownOptDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,L return FALSE; } -static int ShutdownOptInit(WPARAM wParam,LPARAM lParam) +static int ShutdownOptInit(WPARAM wParam, LPARAM lParam) { - OPTIONSDIALOGPAGE odp; - ZeroMemory(&odp,sizeof(odp)); + OPTIONSDIALOGPAGE odp = {0}; odp.cbSize=sizeof(odp); - odp.hInstance=hInst; - odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_SHUTDOWN); - odp.position=900000002; - odp.ptszGroup=_T("Events"); /* autotranslated */ - odp.ptszTitle=_T("Automatic Shutdown"); /* autotranslated */ - odp.ptszTab=_T("Automatic Shutdown"); /* autotranslated, can be made a tab */ - odp.flags=ODPF_BOLDGROUPS|ODPF_TCHAR; + odp.hInstance = hInst; + odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHUTDOWN); + odp.position = 900000002; + odp.ptszGroup = LPGENT("Events"); /* autotranslated */ + odp.ptszTitle = LPGENT("Automatic Shutdown"); /* autotranslated */ + odp.ptszTab = LPGENT("Automatic Shutdown"); /* autotranslated, can be made a tab */ + odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; odp.pfnDlgProc = ShutdownOptDlgProc; Options_AddPage(wParam, &odp); return 0; -- cgit v1.2.3