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 --- src/core/stduihist/src/history.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/stduihist') diff --git a/src/core/stduihist/src/history.cpp b/src/core/stduihist/src/history.cpp index c886b4f341..e335167a67 100644 --- a/src/core/stduihist/src/history.cpp +++ b/src/core/stduihist/src/history.cpp @@ -274,7 +274,7 @@ static INT_PTR CALLBACK DlgProcHistory(HWND hwndDlg, UINT msg, WPARAM wParam, LP DB::EventInfo dbei(hDbEvent); if (dbei) { - ptrW wszDescr(DbEvent_GetTextW(&dbei, CP_ACP)); + ptrW wszDescr(DbEvent_GetTextW(&dbei)); if (wszDescr) SetDlgItemText(hwndDlg, IDC_EDIT, wszDescr); } @@ -309,7 +309,7 @@ static INT_PTR CALLBACK DlgProcHistory(HWND hwndDlg, UINT msg, WPARAM wParam, LP dbei.cbBlob = oldBlobSize; db_event_get(hDbEvent, &dbei); - ptrW wszDescr(DbEvent_GetTextW(&dbei, CP_ACP)); + ptrW wszDescr(DbEvent_GetTextW(&dbei)); if (wszDescr) { CharUpperW(wszDescr); if (wcsstr(wszDescr, (const wchar_t *)lParam) != nullptr) { -- cgit v1.2.3