summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
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 /protocols/IcqOscarJ
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 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index a42f46a33e..25e216f21d 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -197,8 +197,7 @@ CIcqProto::CIcqProto(const char* aProtoName, const TCHAR* aUserName) :
m_hDirectNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
// Register custom database events
- DBEVENTTYPEDESCR eventType = { 0 };
- eventType.cbSize = DBEVENTTYPEDESCR_SIZE;
+ DBEVENTTYPEDESCR eventType = { sizeof(eventType) };
eventType.eventType = ICQEVENTTYPE_MISSEDMESSAGE;
eventType.module = m_szModuleName;
eventType.descr = "Missed message notifications";