From c43cda1cc5f956322f4bfe0cf75d70568dbadd32 Mon Sep 17 00:00:00 2001 From: Juha Date: Wed, 10 Jul 2024 22:55:48 +0300 Subject: [PATCH] LazUtils: Fix a typo in UTF8LowerCaseFast. Merge request !303. --- 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 4c02913b3e..222fc6bf93 100644 --- a/components/lazutils/lazutf8.pas +++ b/components/lazutils/lazutf8.pas @@ -2916,7 +2916,7 @@ begin while c > 0 do begin t := src^; if (ord(t) and 128) <> 0 then - exit(UTF8UpperCase(AText)); + exit(UTF8LowerCase(AText)); if (t in ['A'..'Z']) then t := chr(ord(t) + 32); dst^ := t;