mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 20:40:24 +02:00
* test fixed because the original version was wrong (as confirmed by Jonas)
git-svn-id: trunk@29675 -
This commit is contained in:
parent
da21fe94fa
commit
08a3c45aa3
@ -44,7 +44,7 @@ begin
|
||||
SetString(S, PAnsiChar(Bytes), Length(Bytes));
|
||||
if not CompareMem(Pointer(S), Pointer(Cp866String), Length(S)) then
|
||||
halt(1);
|
||||
if StringCodePage(S)<>DefaultSystemCodePage then
|
||||
if StringCodePage(S)<>CP_ACP then
|
||||
halt(11);
|
||||
SetString(Cp1251String,pchar(Cp1251String),length(Cp1251String));
|
||||
if StringCodePage(Cp1251String)<>1251 then
|
||||
|
Loading…
Reference in New Issue
Block a user