summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
commit0f9e1002ec21154bc476fbfeab0d21f796515823 (patch)
tree678f870457343d977afe06b154cfa5323b75e8da /plugins/BasicHistory/src
parentee7a91629442ba40e876e19e4cdd7af173e8e840 (diff)
DbEvent_GetTextW: useless second parameter removed
Diffstat (limited to 'plugins/BasicHistory/src')
-rw-r--r--plugins/BasicHistory/src/EventList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/EventList.cpp b/plugins/BasicHistory/src/EventList.cpp
index 031552102e..2be9c30110 100644
--- a/plugins/BasicHistory/src/EventList.cpp
+++ b/plugins/BasicHistory/src/EventList.cpp
@@ -443,7 +443,7 @@ std::wstring HistoryEventList::GetContactId()
static void GetMessageDescription(DBEVENTINFO *dbei, wchar_t* buf, int cbBuf)
{
- wchar_t *msg = DbEvent_GetTextW(dbei, CP_ACP);
+ wchar_t *msg = DbEvent_GetTextW(dbei);
wcsncpy_s(buf, cbBuf, msg ? msg : TranslateT("Invalid message"), _TRUNCATE);
buf[cbBuf - 1] = 0;
mir_free(msg);