From 8b37b16480b372ce6ec5a3dbf50f6ea3c065a968 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Dec 2023 14:21:18 +0300 Subject: compilation fix --- plugins/HistoryPlusPlus/hpp_events.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/hpp_events.pas b/plugins/HistoryPlusPlus/hpp_events.pas index 6f70f39a35..35991b82fc 100644 --- a/plugins/HistoryPlusPlus/hpp_events.pas +++ b/plugins/HistoryPlusPlus/hpp_events.pas @@ -608,7 +608,7 @@ begin cp := CP_UTF8 else cp := Hi.CodePage; - PText := DbEvent_GetTextW(@EventInfo, CP_ACP); + PText := DbEvent_GetTextW(@EventInfo); if not Assigned(PText) then PText := mir_wstrdup(''); Hi.Text := Format(TranslateUnicodeString(Hi.Text), [PText]); -- cgit v1.2.3