mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 21:59:18 +02:00
lazutils: clean up
This commit is contained in:
parent
4cda63582d
commit
a7b3a555a2
@ -227,8 +227,6 @@ var
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
|
||||||
Translations;
|
|
||||||
|
|
||||||
{$IFDEF WinCE}
|
{$IFDEF WinCE}
|
||||||
// CP_UTF8 is missing in the windows unit of the Windows CE RTL
|
// CP_UTF8 is missing in the windows unit of the Windows CE RTL
|
||||||
@ -3555,7 +3553,7 @@ begin
|
|||||||
else
|
else
|
||||||
Result := 2;
|
Result := 2;
|
||||||
//writeln('UCS: FallBack Result = ',Result);
|
//writeln('UCS: FallBack Result = ',Result);
|
||||||
//Try t find start of valid UTF8 codepoints
|
//Try to find start of valid UTF8 codepoints
|
||||||
if (not Utf8TryFindCodepointStart(Org1, S1, CL1)) or
|
if (not Utf8TryFindCodepointStart(Org1, S1, CL1)) or
|
||||||
not Utf8TryFindCodepointStart(Org2, S2, CL2) then
|
not Utf8TryFindCodepointStart(Org2, S2, CL2) then
|
||||||
Exit;
|
Exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user