summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-18 18:37:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-18 18:37:18 +0000
commit3791ce0c509d1d7a64cbba67015db38f4db5404c (patch)
tree360f57c9d567cb9a83f3c7bd09349324673ae184 /plugins/NewEventNotify/src/main.cpp
parenta154027918d0a5f2f270615e606d463e35a80d1e (diff)
- introducing ME_DB_EVENT_MARKED_READ - an event being called upon the call of db_event_markRead;
- various m_database.h related code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewEventNotify/src/main.cpp')
-rw-r--r--plugins/NewEventNotify/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp
index a100978f0a..7a946b16cf 100644
--- a/plugins/NewEventNotify/src/main.cpp
+++ b/plugins/NewEventNotify/src/main.cpp
@@ -78,7 +78,7 @@ int HookedNewEvent(WPARAM hContact, LPARAM lParam)
if (ServiceExists(MS_DB_EVENT_GETTYPE)) {
DBEVENTTYPEDESCR *pei = (DBEVENTTYPEDESCR*)CallService(MS_DB_EVENT_GETTYPE, (WPARAM)dbe.szModule, (LPARAM)dbe.eventType);
// ignore events according to flags
- if (pei && pei->cbSize >= DBEVENTTYPEDESCR_SIZE && pei->flags & DETF_NONOTIFY)
+ if (pei && pei->flags & DETF_NONOTIFY)
return 0;
}