diff -r 73cdc306888f -r 128ace913837 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Tue Dec 13 21:21:55 2022 +0100 +++ b/hedgewars/uChat.pas Mon Jan 02 15:59:26 2023 +0100 @@ -105,7 +105,7 @@ procedure UpdateCursorCoords(); forward; // relevant for UTF-8 handling -function IsFirstCharByte(c: char): boolean; inline; +function IsFirstCharByte(c: char): boolean; begin // based on https://en.wikipedia.org/wiki/UTF-8#Description IsFirstCharByte:= (byte(c) and $C0) <> $80;