diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-04 05:35:40 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-04 05:35:40 +0000 |
commit | 7c65ece16e7d5b47ce2ee149ea4d7c259a997eab (patch) | |
tree | bd515a32dafc71347d97f672c1e587aa395bd913 /plugins/AutoShutdown/src/settingsdlg.cpp | |
parent | a8cb0320099f9723c89413ca6d2942c6d9dc30c0 (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/settingsdlg.cpp')
-rw-r--r-- | plugins/AutoShutdown/src/settingsdlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp index 36910dfdf7..723909da7e 100644 --- a/plugins/AutoShutdown/src/settingsdlg.cpp +++ b/plugins/AutoShutdown/src/settingsdlg.cpp @@ -443,20 +443,20 @@ void SetShutdownMenuItem(BOOL fActive) CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 2001090000;
mi.icolibItem = fActive ? iconList[1].hIcolib : iconList[2].hIcolib;
- mi.ptszName = fActive?_T("Stop automatic &shutdown"):_T("Automatic &shutdown..."); /* autotranslated */
+ mi.ptszName = fActive ? LPGENT("Stop automatic &shutdown") : LPGENT("Automatic &shutdown..."); /* autotranslated */
mi.pszService = "AutoShutdown/MenuCommand";
- mi.flags = CMIF_TCHAR|CMIF_ICONFROMICOLIB;
+ mi.flags = CMIF_TCHAR | CMIF_ICONFROMICOLIB;
if (hMainMenuItem != NULL) {
- mi.flags |= CMIM_NAME|CMIM_ICON;
- CallService(MS_CLIST_MODIFYMENUITEM,(WPARAM)hMainMenuItem,(LPARAM)&mi);
+ mi.flags |= CMIM_NAME | CMIM_ICON;
+ CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMainMenuItem, (LPARAM)&mi);
}
else hMainMenuItem = Menu_AddMainMenuItem(&mi);
/* tray menu */
mi.position = 899999;
- if(hTrayMenuItem!=NULL) {
- mi.flags|=CMIM_NAME|CMIM_ICON;
- CallService(MS_CLIST_MODIFYMENUITEM,(WPARAM)hTrayMenuItem,(LPARAM)&mi);
+ if(hTrayMenuItem != NULL) {
+ mi.flags |= CMIM_NAME | CMIM_ICON;
+ CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hTrayMenuItem, (LPARAM)&mi);
}
else hTrayMenuItem = Menu_AddTrayMenuItem(&mi);
|