* prevent code page conversion in CharInSet(widechar,tsyscharset)

git-svn-id: trunk@22464 -
This commit is contained in:
Jonas Maebe 2012-09-26 20:46:19 +00:00
parent 91d92c4732
commit 92064356f0

View File

@ -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;