diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-12 13:52:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-12 13:52:51 +0000 |
commit | e721ceb8d105cb20b3eb644c4d6952e3780184e0 (patch) | |
tree | 9404e3a22d5d43642cca6ecbf59f4eea0764e478 | |
parent | 8d371aa2b1fa5a7bfe835dee9b60d1407b33047b (diff) |
more compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8577 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/HistoryPlusPlus/EmptyHistoryForm.pas | 2 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/HistoryForm.pas | 2 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_bookmarks.pas | 4 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_searchthread.pas | 2 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_sessionsthread.pas | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/plugins/HistoryPlusPlus/EmptyHistoryForm.pas b/plugins/HistoryPlusPlus/EmptyHistoryForm.pas index f1faa55e6c..33fe30105b 100644 --- a/plugins/HistoryPlusPlus/EmptyHistoryForm.pas +++ b/plugins/HistoryPlusPlus/EmptyHistoryForm.pas @@ -257,7 +257,7 @@ begin SetSafetyMode(False);
while hDBEvent <> 0 do
begin
- prevhDbEvent := db_event_prev(hDBEvent);
+ prevhDbEvent := db_event_prev(hContact,hDBEvent);
if db_event_delete(hContact,hDBEvent) = 0 then
hDBEvent := prevhDbEvent
else
diff --git a/plugins/HistoryPlusPlus/HistoryForm.pas b/plugins/HistoryPlusPlus/HistoryForm.pas index 3cec81369e..218f404be5 100644 --- a/plugins/HistoryPlusPlus/HistoryForm.pas +++ b/plugins/HistoryPlusPlus/HistoryForm.pas @@ -2109,7 +2109,7 @@ begin Sessions[idx].TimestampLast := 0;
Exit;
end;
- hDBEvent := db_event_next(hDBEvent);
+ hDBEvent := db_event_next(hContact,hDBEvent);
if hDBEvent <> 0 then
begin
Sessions[idx].hDBEventFirst := hDBEvent;
diff --git a/plugins/HistoryPlusPlus/hpp_bookmarks.pas b/plugins/HistoryPlusPlus/hpp_bookmarks.pas index 5d0ec98640..942ac135b3 100644 --- a/plugins/HistoryPlusPlus/hpp_bookmarks.pas +++ b/plugins/HistoryPlusPlus/hpp_bookmarks.pas @@ -634,7 +634,7 @@ begin Result := True;
break;
end;
- hDBEvent := db_event_next(hDBEvent);
+ hDBEvent := db_event_next(Contact.hContact,hDBEvent);
end;
end
else
@@ -651,7 +651,7 @@ begin Result := True;
break;
end;
- hDBEvent := db_event_prev(hDBEvent);
+ hDBEvent := db_event_prev(Contact.hContact,hDBEvent);
end;
end;
end;
diff --git a/plugins/HistoryPlusPlus/hpp_searchthread.pas b/plugins/HistoryPlusPlus/hpp_searchthread.pas index 88637c039b..6d850ddf5e 100644 --- a/plugins/HistoryPlusPlus/hpp_searchthread.pas +++ b/plugins/HistoryPlusPlus/hpp_searchthread.pas @@ -428,7 +428,7 @@ begin begin
if SearchEvent(hDBEvent) then
SendItem(hDBEvent);
- hDBEvent := db_event_prev(hDBEvent);
+ hDBEvent := db_event_prev(Contact, hDBEvent);
end;
SendBatch;
end;
diff --git a/plugins/HistoryPlusPlus/hpp_sessionsthread.pas b/plugins/HistoryPlusPlus/hpp_sessionsthread.pas index 57535d7004..d86372feaf 100644 --- a/plugins/HistoryPlusPlus/hpp_sessionsthread.pas +++ b/plugins/HistoryPlusPlus/hpp_sessionsthread.pas @@ -209,7 +209,7 @@ begin Inc(Count);
PrevTime := CurTime;
end;
- hDBEvent := db_event_next(hDBEvent);
+ hDBEvent := db_event_next(FContact, hDBEvent);
end;
SendItem(FirstEvent, LastEvent, FirstTimestamp, LastTimestamp, Count);
SendBatch;
|