mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 17:55:55 +02:00
LCL/UTF-8: fix UTF8FindNearestCharStart (it kept looking at the 1st char in the string, assuming wrong start positions for others)
git-svn-id: trunk@18797 -
This commit is contained in:
parent
81d0c46770
commit
9cfd930f46
@ -3227,6 +3227,7 @@ begin
|
||||
if (BytePos<0) then exit;
|
||||
inc(Result,CharLen);
|
||||
if (BytePos=0) then exit;
|
||||
inc(UTF8Str,CharLen);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user