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/settingsdlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/AutoShutdown/src/settingsdlg.cpp') 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); -- cgit v1.2.3