From a331e9e33c9e629387db40687de903c89d7ab1c1 Mon Sep 17 00:00:00 2001 From: skalogryz Date: Sun, 19 Jan 2020 23:15:52 +0000 Subject: [PATCH] richmemo: adding an additional skip-character after unicode character git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7305 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/richmemo/richmemortf.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/richmemo/richmemortf.pas b/components/richmemo/richmemortf.pas index 3aeb61e91..52bfada94 100644 --- a/components/richmemo/richmemortf.pas +++ b/components/richmemo/richmemortf.pas @@ -761,7 +761,7 @@ begin inc(i); Break; end else if u[i]<#127 then Result:=Result+char(byte(u[i])) - else Result:=Result+'\u'+IntToStr(word(u[i]))+' '; // adding a blank "space" character replacement + else Result:=Result+'\u'+IntToStr(word(u[i]))+' '; // adding a blank "space" character replacement inc(i); end; idx:=i;