mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 21:30:34 +02:00
LazUtils: only transform relevant alphabet characters in LazUTF16.UnicodeLowercase function, issue #41056
(cherry picked from commit 6e4a0dd2ae
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
This commit is contained in:
parent
7330bf87c4
commit
f406138d92
@ -1003,7 +1003,7 @@ function UnicodeLowercase(u: cardinal): cardinal;
|
|||||||
begin
|
begin
|
||||||
if u<$00C0 then begin
|
if u<$00C0 then begin
|
||||||
// most common
|
// most common
|
||||||
if (u>=$0041) and (u<=$0061) then
|
if (u>=$0041) and (u<=$005A) then
|
||||||
Result:=u+32
|
Result:=u+32
|
||||||
else
|
else
|
||||||
Result:=u;
|
Result:=u;
|
||||||
|
Loading…
Reference in New Issue
Block a user