summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
commit0f9e1002ec21154bc476fbfeab0d21f796515823 (patch)
tree678f870457343d977afe06b154cfa5323b75e8da /plugins/TabSRMM
parentee7a91629442ba40e876e19e4cdd7af173e8e840 (diff)
DbEvent_GetTextW: useless second parameter removed
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp2
-rw-r--r--plugins/TabSRMM/src/msglog.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 7db8739e27..90170af3b1 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -934,7 +934,7 @@ void CMsgDialog::onClick_Quote(CCtrlButton*)
if (szQuoted.IsEmpty()) {
DB::EventInfo dbei(hDBEvent);
if (dbei)
- szQuoted = Srmm_Quote(ptrW(DbEvent_GetTextW(&dbei, CP_ACP)), iOutputWidth);
+ szQuoted = Srmm_Quote(ptrW(DbEvent_GetTextW(&dbei)), iOutputWidth);
}
}
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 2ae3bd5186..18759fbbdf 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -573,7 +573,7 @@ bool CLogWindow::CreateRtfEvent(RtfLogStreamData *streamData, DB::EventInfo &dbe
if (!isSent && bIsStatusChangeEvent)
dbei.wipeNotify(streamData->hDbEvent);
- CMStringW msg(ptrW(DbEvent_GetTextW(&dbei, CP_UTF8)));
+ CMStringW msg(ptrW(DbEvent_GetTextW(&dbei)));
if (msg.IsEmpty())
return nullptr;
@@ -981,7 +981,7 @@ bool CLogWindow::CreateRtfEvent(RtfLogStreamData *streamData, DB::EventInfo &dbe
if (blob.isOffline())
InsertFileLink(str, streamData->hDbEvent, blob);
else
- AppendUnicodeToBuffer(str, ptrW(DbEvent_GetTextW(&dbei, CP_ACP)), 0);
+ AppendUnicodeToBuffer(str, ptrW(DbEvent_GetTextW(&dbei)), 0);
}
break;
@@ -991,7 +991,7 @@ bool CLogWindow::CreateRtfEvent(RtfLogStreamData *streamData, DB::EventInfo &dbe
str.AppendChar(' ');
}
- ptrW tszText(DbEvent_GetTextW(&dbei, CP_ACP));
+ ptrW tszText(DbEvent_GetTextW(&dbei));
AppendUnicodeToBuffer(str, tszText, 0);
}
break;