summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/mir_db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/mir_db.cpp')
-rw-r--r--plugins/UserInfoEx/mir_db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/mir_db.cpp b/plugins/UserInfoEx/mir_db.cpp
index e002bbbdb9..b17dc3e7d0 100644
--- a/plugins/UserInfoEx/mir_db.cpp
+++ b/plugins/UserInfoEx/mir_db.cpp
@@ -1096,7 +1096,7 @@ BYTE GetInfoWithData(HANDLE hEvent, DBEVENTINFO *dbei)
{
BYTE result;
dbei->cbSize = sizeof(DBEVENTINFO);
- if(!dbei->cbBlob) {
+ if (!dbei->cbBlob) {
INT_PTR size = BlobSizeOf(hEvent);
dbei->cbBlob = (size != -1) ? (DWORD)size : 0;
}
@@ -1225,7 +1225,7 @@ BOOLEAN Exists(HANDLE hContact, HANDLE& hDbExistingEvent, DBEVENTINFO *dbei)
edbe = FindPrev(edbe) ) {
hDbExistingEvent = edbe;
//compare without data (faster)
- if( result = IsEqual(dbei, &edbei, false)) {
+ if ( result = IsEqual(dbei, &edbei, false)) {
if(NULL == (result = !GetInfoWithData(edbe, &edbei))) continue;
//compare with data
result = IsEqual(dbei, &edbei, true);
@@ -1242,7 +1242,7 @@ BOOLEAN Exists(HANDLE hContact, HANDLE& hDbExistingEvent, DBEVENTINFO *dbei)
edbe = FindNext(edbe) ) {
hDbExistingEvent = edbe;
//compare without data (faster)
- if( result = IsEqual(dbei, &edbei, false)) {
+ if ( result = IsEqual(dbei, &edbei, false)) {
if(NULL == (result = !GetInfoWithData(edbe, &edbei))) continue;
//compare with data
result = IsEqual(dbei, &edbei, true);