mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 04:33:54 +02:00
LCL: Fix clipboard encoding when fpc is >= 3.1.1 (currently trunk), see notes on issue #30623
git-svn-id: trunk@59842 -
This commit is contained in:
parent
07ff5d447e
commit
07d328aeaa
@ -879,7 +879,11 @@ begin
|
||||
exit;
|
||||
|
||||
{$IFDEF WINDOWS}
|
||||
{$IF FPC_FULLVERSION >= 30101}
|
||||
Stream := TStringStream.Create(InsertClipHeader(Html), DefaultSystemCodePage);
|
||||
{$ELSE}
|
||||
Stream := TStringStream.Create(InsertClipHeader(Html));
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
Stream := TStringStream.Create(Html);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user