summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
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 /plugins/HistoryPlusPlus
parent831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff)
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r--plugins/HistoryPlusPlus/hpp_events.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_events.pas b/plugins/HistoryPlusPlus/hpp_events.pas
index 35991b82fc..f1ca2ddf0b 100644
--- a/plugins/HistoryPlusPlus/hpp_events.pas
+++ b/plugins/HistoryPlusPlus/hpp_events.pas
@@ -525,7 +525,7 @@ begin
Result := False;
msg := nil;
try
- msg := DbEvent_GetTextW(@EventInfo);
+ msg := DbEvent_GetText(@EventInfo);
Result := Assigned(msg);
except
if Assigned(msg) then mir_free(msg);
@@ -608,7 +608,7 @@ begin
cp := CP_UTF8
else
cp := Hi.CodePage;
- PText := DbEvent_GetTextW(@EventInfo);
+ PText := DbEvent_GetText(@EventInfo);
if not Assigned(PText) then
PText := mir_wstrdup('');
Hi.Text := Format(TranslateUnicodeString(Hi.Text), [PText]);