From 59b7512ef284e6ee669eb3cd8603a67d7d7d637d Mon Sep 17 00:00:00 2001 From: admin_d Date: Tue, 15 Sep 2026 17:43:34 +0500 Subject: [PATCH] Remove LCLType MAXBYTE dependency --- port-source/kam_remake/src/utils/KromUtils.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port-source/kam_remake/src/utils/KromUtils.pas b/port-source/kam_remake/src/utils/KromUtils.pas index a6a1e55..3f5d768 100644 --- a/port-source/kam_remake/src/utils/KromUtils.pas +++ b/port-source/kam_remake/src/utils/KromUtils.pas @@ -250,7 +250,7 @@ end; function CharInSet(C: WideChar; S: TSetOfAnsiChar): Boolean; begin - Result := (Ord(C) <= MAXBYTE) and (AnsiChar(C) in S); + Result := (Ord(C) <= High(Byte)) and (AnsiChar(C) in S); end;