diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/SeenPlugin/menu.c | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin/menu.c')
-rw-r--r-- | plugins/SeenPlugin/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/menu.c b/plugins/SeenPlugin/menu.c index e6b972fec4..c6a5ca8884 100644 --- a/plugins/SeenPlugin/menu.c +++ b/plugins/SeenPlugin/menu.c @@ -51,7 +51,7 @@ int BuildContactMenu(WPARAM wparam,LPARAM lparam) ZeroMemory(&cmi,sizeof(cmi));
cmi.cbSize=sizeof(cmi);
- if(!IsWatchedProtocol(szProto) || !DBGetContactSettingByte(NULL,S_MOD,"MenuItem",1))
+ if (!IsWatchedProtocol(szProto) || !DBGetContactSettingByte(NULL,S_MOD,"MenuItem",1))
{
cmi.flags=CMIM_FLAGS|CMIF_HIDDEN;
}
@@ -61,7 +61,7 @@ int BuildContactMenu(WPARAM wparam,LPARAM lparam) cmi.hIcon=NULL;
cmi.pszName=ParseString(!DBGetContactSetting(NULL,S_MOD,"MenuStamp",&dbv)?dbv.pszVal:DEFAULT_MENUSTAMP,(HANDLE)wparam,0);
- if(!strcmp(cmi.pszName,Translate("<unknown>")))
+ if (!strcmp(cmi.pszName,Translate("<unknown>")))
{
if (IsWatchedProtocol(szProto))
cmi.flags|=CMIF_GRAYED;
|