summaryrefslogtreecommitdiff
path: root/src/core/stduihist
diff options
context:
space:
mode:
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) {