summaryrefslogtreecommitdiff
path: root/src/core/stduihist/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stduihist/history.cpp')
-rw-r--r--src/core/stduihist/history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stduihist/history.cpp b/src/core/stduihist/history.cpp
index af51a6e95d..cc356ec781 100644
--- a/src/core/stduihist/history.cpp
+++ b/src/core/stduihist/history.cpp
@@ -168,7 +168,7 @@ static void FillHistoryThread(void* param)
i = SendMessage(hwndList, LB_ADDSTRING, 0, (LPARAM)eventText);
SendMessage(hwndList, LB_SETITEMDATA, i, (LPARAM)hDbEvent);
}
- hDbEvent = db_event_prev(hDbEvent);
+ hDbEvent = db_event_prev(hInfo->hContact, hDbEvent);
}
mir_free(dbei.pBlob);