From c7d065645853b2e614e8557fa01057efaf5e6517 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 May 2024 14:23:13 +0300 Subject: DbEvent_GetTextA: unused function 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 498573b9a1..700b42a94a 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)); + ptrW wszDescr(dbei.getText()); 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)); + ptrW wszDescr(DbEvent_GetText(&dbei)); if (wszDescr) { CharUpperW(wszDescr); if (wcsstr(wszDescr, (const wchar_t *)lParam) != nullptr) { -- cgit v1.2.3