summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/db.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_core/db.cpp b/src/mir_core/db.cpp
index 1479748bf2..f1aefcecce 100644
--- a/src/mir_core/db.cpp
+++ b/src/mir_core/db.cpp
@@ -310,14 +310,14 @@ MIR_CORE_DLL(int) db_event_markRead(MCONTACT hContact, HANDLE hDbEvent)
return (currDb == NULL) ? 0 : currDb->MarkEventRead(hContact, hDbEvent);
}
-MIR_CORE_DLL(HANDLE) db_event_next(HANDLE hDbEvent)
+MIR_CORE_DLL(HANDLE) db_event_next(MCONTACT hContact, HANDLE hDbEvent)
{
- return (currDb == NULL) ? 0 : currDb->FindNextEvent(hDbEvent);
+ return (currDb == NULL) ? 0 : currDb->FindNextEvent(hContact, hDbEvent);
}
-MIR_CORE_DLL(HANDLE) db_event_prev(HANDLE hDbEvent)
+MIR_CORE_DLL(HANDLE) db_event_prev(MCONTACT hContact, HANDLE hDbEvent)
{
- return (currDb == NULL) ? 0 : currDb->FindPrevEvent(hDbEvent);
+ return (currDb == NULL) ? 0 : currDb->FindPrevEvent(hContact, hDbEvent);
}
/////////////////////////////////////////////////////////////////////////////////////////