summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/HistoryPlusPlus/HistoryGrid.pas5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/HistoryGrid.pas b/plugins/HistoryPlusPlus/HistoryGrid.pas
index e4a197d95e..5e89117773 100644
--- a/plugins/HistoryPlusPlus/HistoryGrid.pas
+++ b/plugins/HistoryPlusPlus/HistoryGrid.pas
@@ -4780,8 +4780,11 @@ var
end;
procedure SaveUnicode;
+ var
+ Start: AnsiString;
begin
- WriteString(Stream, #255#254);
+ Start := #255#254;
+ Stream.Write(Start[1], 2);
WriteWideString(Stream, '###'#13#10);
if Caption = '' then
Caption := TxtHistExport;