summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_reminder.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
commitf98e2216f98a31dbb0f77b97249aaaee75b345ed (patch)
treefa1033da7ca1b02a5238c958cfa6fb5da22ef2c4 /plugins/UserInfoEx/src/svc_reminder.cpp
parent87cbc0b769f26286166201018c9e0e357c5caa66 (diff)
massive garbage removal from extra icons module
git-svn-id: http://svn.miranda-ng.org/main/trunk@7340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/svc_reminder.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_reminder.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp
index 7bdd777281..269af4ada0 100644
--- a/plugins/UserInfoEx/src/svc_reminder.cpp
+++ b/plugins/UserInfoEx/src/svc_reminder.cpp
@@ -925,8 +925,7 @@ static void UpdateTimer(BYTE bStartup)
void SvcReminderEnable(BYTE bEnable)
{
- if (bEnable) // Reminder is on
- {
+ if (bEnable) { // Reminder is on
if (ExtraIcon == INVALID_HANDLE_VALUE)
ExtraIcon = ExtraIcon_Register("Reminder", LPGEN("Reminder (uinfoex)"), ICO_COMMON_ANNIVERSARY);
@@ -948,8 +947,7 @@ void SvcReminderEnable(BYTE bEnable)
// init the timer
UpdateTimer(TRUE);
}
- else // Reminder is off
- {
+ else { // Reminder is off
for (HANDLE hContact = db_find_first(); hContact != NULL; hContact = db_find_next(hContact))
NotifyWithExtraIcon(hContact, CEvent());