From 6e41e1e216fddf070b91e014efbd78610086a03a Mon Sep 17 00:00:00 2001 From: mattias Date: Sun, 4 Jun 2017 20:18:38 +0000 Subject: [PATCH] lazutils: fixed UTF8CharacterLengthFast git-svn-id: trunk@55218 - --- components/lazutils/lazutf8.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;