From 0f9e1002ec21154bc476fbfeab0d21f796515823 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Dec 2023 14:58:56 +0300 Subject: DbEvent_GetTextW: useless second parameter removed --- plugins/HistoryLinkListPlus/src/linklist_fct.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/HistoryLinkListPlus/src') diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp index 4b4736ea53..2977f5fedd 100644 --- a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp +++ b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp @@ -57,7 +57,7 @@ int ExtractURI(DBEVENTINFO *dbei, MEVENT hEvent, LISTELEMENT *listStart) date[0] = 0; time[0] = 0; - msg = DbEvent_GetTextW(dbei, CP_ACP); + msg = DbEvent_GetTextW(dbei); if (msg == nullptr) return 0; @@ -382,7 +382,7 @@ void WriteLinkList(HWND hDlg, uint8_t params, LISTELEMENT *listStart, LPCTSTR se { DB::EventInfo dbe(actualElement->hEvent); - ptrW msg(DbEvent_GetTextW(&dbe, CP_ACP)); + ptrW msg(DbEvent_GetTextW(&dbe)); if (wcsstr(msg, searchString)) filter3 = 1; } @@ -611,7 +611,7 @@ void WriteMessage(HWND hDlg, LISTELEMENT *listStart, int actLinePos) SetDlgItemTextW(hDlg, IDC_MESSAGE, L""); DB::EventInfo dbe(hEvent); - SendDlgItemMessage(hDlg, IDC_MESSAGE, EM_REPLACESEL, FALSE, ptrW(DbEvent_GetTextW(&dbe, CP_ACP))); + SendDlgItemMessage(hDlg, IDC_MESSAGE, EM_REPLACESEL, FALSE, ptrW(DbEvent_GetTextW(&dbe))); } break; } -- cgit v1.2.3