summaryrefslogtreecommitdiff
path: root/src/core/stduihist
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
commitc7d065645853b2e614e8557fa01057efaf5e6517 (patch)
tree6b5233ed788e31014e868c007ccb469ca4d64e60 /src/core/stduihist
parent831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff)
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'src/core/stduihist')
-rw-r--r--src/core/stduihist/src/history.cpp4
1 files changed, 2 insertions, 2 deletions
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) {