diff --git a/components/lazutils/lazutf8.pas b/components/lazutils/lazutf8.pas index 0c27709c23..693f4352b2 100644 --- a/components/lazutils/lazutf8.pas +++ b/components/lazutils/lazutf8.pas @@ -442,7 +442,7 @@ end; function UTF8CharacterLengthFast(p: PChar): integer; begin case p^ of - //#0..#191 : Result := 1; + #0..#191 : Result := 1; #192..#223 : Result := 2; #224..#239 : Result := 3; #240..#247 : Result := 4;