mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-17 10:31:05 +02:00
* prevent code page conversion in CharInSet(widechar,tsyscharset)
git-svn-id: trunk@22464 -
This commit is contained in:
parent
91d92c4732
commit
92064356f0
@ -184,5 +184,5 @@ end;
|
||||
|
||||
Function CharInSet(Ch:WideChar;Const CSet : TSysCharSet) : Boolean;
|
||||
begin
|
||||
result:=(Ch<=#$FF) and (ansichar(ch) in CSet);
|
||||
result:=(Ch<=#$FF) and (ansichar(byte(ch)) in CSet);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user