diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:58:56 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:58:56 +0300 |
commit | 0f9e1002ec21154bc476fbfeab0d21f796515823 (patch) | |
tree | 678f870457343d977afe06b154cfa5323b75e8da /plugins/BasicHistory/src | |
parent | ee7a91629442ba40e876e19e4cdd7af173e8e840 (diff) |
DbEvent_GetTextW: useless second parameter removed
Diffstat (limited to 'plugins/BasicHistory/src')
-rw-r--r-- | plugins/BasicHistory/src/EventList.cpp | 2 |
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);
|