summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Dbx_mdb/src/dbevents.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Dbx_mdb/src/dbevents.cpp b/plugins/Dbx_mdb/src/dbevents.cpp
index 313eac7036..01315da42a 100644
--- a/plugins/Dbx_mdb/src/dbevents.cpp
+++ b/plugins/Dbx_mdb/src/dbevents.cpp
@@ -310,6 +310,7 @@ STDMETHODIMP_(BOOL) CDbxMdb::MarkEventRead(MCONTACT contactID, MEVENT hDbEvent)
return -1;
dbe = (DBEvent*)mir_alloc(data.mv_size);
memcpy(dbe, data.mv_data, data.mv_size);
+ nDbe = data.mv_size;
}
if (dbe->markedRead())