diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-07 14:57:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-07 14:57:23 +0000 |
commit | bf1057988f5e011f6b4d4b5dea3a45fbc4e5b9f2 (patch) | |
tree | 737bc6dad86d231766d5b1f741abe79cdbb08ede /plugins/Db3x_mmap | |
parent | 836a8bb674bc473559f1a3298a1822d66841c634 (diff) |
special message for fixing zero contact ids
git-svn-id: http://svn.miranda-ng.org/main/trunk@8450 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/eventchain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp index 453ec15d33..bc51ec606a 100644 --- a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp +++ b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp @@ -186,8 +186,10 @@ int CDb3Mmap::WorkEventChain(DWORD ofsContact, DBContact *dbc, int firstTime) dbeOld.flags &= ~DBEF_FIRST;
}
- if (dbeOld.contactID == 0)
+ if (dbeOld.contactID == 0) {
+ cb->pfnAddLogMessage(STATUS_WARNING, TranslateT("Zero event's contact id: correcting"));
dbeOld.contactID = dbc->dwContactID;
+ }
if (dbeOld.flags & ~DBEF_ALL) {
cb->pfnAddLogMessage(STATUS_WARNING, TranslateT("Extra flags found in event: removing"));
|