Remove LCLType MAXBYTE dependency
Sync changed files to Google Drive / sync (push) Successful in 18s
Sync changed files to Google Drive / sync (push) Successful in 18s
This commit is contained in:
1 parent
8ec025719a
commit
59b7512ef2
1 file changed
+1
-1
@@ -250,7 +250,7 @@ end;
|
|||||||
|
|
||||||
function CharInSet(C: WideChar; S: TSetOfAnsiChar): Boolean;
|
function CharInSet(C: WideChar; S: TSetOfAnsiChar): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := (Ord(C) <= MAXBYTE) and (AnsiChar(C) in S);
|
Result := (Ord(C) <= High(Byte)) and (AnsiChar(C) in S);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user