diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-28 20:30:29 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-28 20:30:29 +0000 |
commit | 86ffbe56a77e202ee195bc48a8d61b454e256b84 (patch) | |
tree | 28cbb2e1bf93a80a00ad27ab1928c86ae792be73 /plugins/TabSRMM/src/eventpopups.cpp | |
parent | 515b07f0d98c647c5151867d75a6c8a05d329bfa (diff) |
TabSEMM:
- minor leak fixed
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@15073 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/eventpopups.cpp')
-rw-r--r-- | plugins/TabSRMM/src/eventpopups.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp index 83c12082e3..8acc0cc29f 100644 --- a/plugins/TabSRMM/src/eventpopups.cpp +++ b/plugins/TabSRMM/src/eventpopups.cpp @@ -651,10 +651,8 @@ static int TSAPI PopupPreview(NEN_OPTIONS *pluginOptions) return 0;
}
-/*
-* updates the menu entry...
-* bForced is used to only update the status, nickname etc. and does NOT update the unread count
-*/
+// updates the menu entry...
+// bForced is used to only update the status, nickname etc. and does NOT update the unread count
void TSAPI UpdateTrayMenuState(TWindowData *dat, BOOL bForced)
{
if (PluginConfig.g_hMenuTrayUnread == 0 || dat->hContact == NULL)
@@ -685,10 +683,7 @@ void TSAPI UpdateTrayMenuState(TWindowData *dat, BOOL bForced) SetMenuItemInfo(PluginConfig.g_hMenuTrayUnread, (UINT_PTR)dat->hContact, FALSE, &mii);
}
-/*
- * if we want tray support, add the contact to the list of unread sessions in the tray menu
- */
-
+// if we want tray support, add the contact to the list of unread sessions in the tray menu
int TSAPI UpdateTrayMenu(const TWindowData *dat, WORD wStatus, const char *szProto, const TCHAR *szStatus, MCONTACT hContact, DWORD fromEvent)
{
if (!PluginConfig.g_hMenuTrayUnread || hContact == 0 || szProto == NULL)
@@ -810,10 +805,7 @@ passed: return 0;
}
-/**
-* remove all popups for hContact, but only if the mask matches the current "mode"
-*/
-
+// remove all popups for hContact, but only if the mask matches the current "mode"
void TSAPI DeletePopupsForContact(MCONTACT hContact, DWORD dwMask)
{
if (!(dwMask & nen_options.dwRemoveMask) || nen_options.iDisable || !PluginConfig.g_bPopupAvail)
|