diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-13 14:23:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-13 14:23:13 +0300 |
commit | c7d065645853b2e614e8557fa01057efaf5e6517 (patch) | |
tree | 6b5233ed788e31014e868c007ccb469ca4d64e60 /src/core | |
parent | 831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff) |
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msglog.cpp | 4 | ||||
-rw-r--r-- | src/core/stduihist/src/history.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp index 62cf73ca53..57fabb7510 100644 --- a/src/core/stdmsg/src/msglog.cpp +++ b/src/core/stdmsg/src/msglog.cpp @@ -364,7 +364,7 @@ public: AppendToBufferWithRTF(buf, szName);
AppendToBufferWithRTF(buf, L" ");
- msg = DbEvent_GetTextW(&dbei);
+ msg = dbei.getText();
if (msg) {
AppendToBufferWithRTF(buf, msg);
mir_free(msg);
@@ -394,7 +394,7 @@ public: case EVENTTYPE_MESSAGE:
default:
- msg = DbEvent_GetTextW(&dbei);
+ msg = dbei.getText();
SetToStyle((dbei.eventType == EVENTTYPE_MESSAGE) ? ((dbei.flags & DBEF_SENT) ? MSGFONTID_MYMSG : MSGFONTID_YOURMSG) : MSGFONTID_NOTICE, buf);
AppendToBufferWithRTF(buf, msg);
mir_free(msg);
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) {
|