From b684f05959cfcbf2c6fa25b5258f3378196296b8 Mon Sep 17 00:00:00 2001
From: MikalaiR <nikolay.romanovich@narod.ru>
Date: Thu, 17 Mar 2016 19:08:13 +0000
Subject: oops

git-svn-id: http://svn.miranda-ng.org/main/trunk@16492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/Dbx_mdb/src/dbevents.cpp | 1 +
 1 file changed, 1 insertion(+)

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())
-- 
cgit v1.2.3