summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-12-04 05:35:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-12-04 05:35:40 +0000
commit7c65ece16e7d5b47ce2ee149ea4d7c259a997eab (patch)
treebd515a32dafc71347d97f672c1e587aa395bd913 /plugins/AutoShutdown/src/options.cpp
parenta8cb0320099f9723c89413ca6d2942c6d9dc30c0 (diff)
Translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown/src/options.cpp')
-rw-r--r--plugins/AutoShutdown/src/options.cpp19
1 files changed, 9 insertions, 10 deletions
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;