richmemo: win32 fix compliation for the older versions of fpc

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
skalogryz 2020-12-15 19:00:35 +00:00
parent a92f60d486
commit f7576c62e0

View File

@ -1062,7 +1062,7 @@ begin
try
l := LinkNotify.chrg.cpMax - LinkNotify.chrg.cpMin;
SetSelection(RichEditWnd, LinkNotify.chrg.cpMin, l);
st := TStringStream.Create;
st := TStringStream.Create('');
hp := '';
try
SaveRichText(RichEditWnd, st, SFF_SELECTION);