mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:59:08 +02:00
copy terminating #0 to clipboard too, windows expects it.
git-svn-id: trunk@7259 -
This commit is contained in:
parent
717c3cbef7
commit
74a953ad16
@ -359,7 +359,7 @@ begin
|
|||||||
s:=Value
|
s:=Value
|
||||||
else
|
else
|
||||||
s:=#0;
|
s:=#0;
|
||||||
SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value));
|
SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1);
|
||||||
//DebugLn('[TClipboard.SetAsText] END ',ClipboardTypeName[ClipboardType],' "',Value,'"');
|
//DebugLn('[TClipboard.SetAsText] END ',ClipboardTypeName[ClipboardType],' "',Value,'"');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -704,6 +704,9 @@ end;
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.22 2005/06/21 11:42:35 vincents
|
||||||
|
copy terminating #0 to clipboard too, windows expects it.
|
||||||
|
|
||||||
Revision 1.21 2005/03/07 21:59:44 vincents
|
Revision 1.21 2005/03/07 21:59:44 vincents
|
||||||
changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
|
changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user