diff options
Diffstat (limited to 'plugins/Variables')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 726e6f2755..30e48f5db5 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -519,9 +519,9 @@ static HANDLE findDbEvent(MCONTACT hContact, HANDLE hDbEvent, int flags) else if (flags & DBE_LAST)
hDbEvent = db_event_last(hContact);
else if (flags & DBE_NEXT)
- hDbEvent = db_event_next(hDbEvent);
+ hDbEvent = db_event_next(hContact, hDbEvent);
else if (flags & DBE_PREV)
- hDbEvent = db_event_prev(hDbEvent);
+ hDbEvent = db_event_prev(hContact, hDbEvent);
}
else {
HANDLE hMatchEvent, hSearchEvent;
|