summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_global.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-10-02 20:42:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-10-02 20:42:44 +0300
commit7a948f1ef804ecd9971b0869e0591c22944fa6da (patch)
treecdc2df2e2d5f186da4b8778b4e1c9e79013ff921 /plugins/HistoryPlusPlus/hpp_global.pas
parent9fe4e9044069e70b3f0e1df0e187f5ea43805ea1 (diff)
merge with SrmmLogContainer
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_global.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_global.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_global.pas b/plugins/HistoryPlusPlus/hpp_global.pas
index 38ae093051..9bae1efa3c 100644
--- a/plugins/HistoryPlusPlus/hpp_global.pas
+++ b/plugins/HistoryPlusPlus/hpp_global.pas
@@ -580,6 +580,9 @@ var
begin
WSize := (Length(WideStr)+1)*SizeOf(WideChar);
if WSize = SizeOf(WideChar) then exit;
+ if CodePage = 1200 then
+ CodePage := CP_ACP;
+
AnsiStr := WideToAnsiString(WideStr,CodePage);
ASize := Length(AnsiStr)+1;
OpenClipboard(Handle);