summaryrefslogtreecommitdiff
path: root/plugins/IEHistory
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEHistory')
-rw-r--r--plugins/IEHistory/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEHistory/src/utils.cpp b/plugins/IEHistory/src/utils.cpp
index a16465d843..8508918230 100644
--- a/plugins/IEHistory/src/utils.cpp
+++ b/plugins/IEHistory/src/utils.cpp
@@ -141,7 +141,7 @@ SearchResult SearchHistory(MCONTACT contact, MEVENT hFirstEvent, void *searchDat
switch (type) {
case SEARCH_TEXT:
{
- ptrW data(DbEvent_GetTextW(&dbEvent));
+ ptrW data(DbEvent_GetText(&dbEvent));
wchar_t *tmp = wcsstr(data, (wchar_t *)searchData);
if (tmp)
found = true;