mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 17:09:09 +02:00
* PChar -> PAnsiChar
This commit is contained in:
parent
b3f8270ea6
commit
3fdbf1f1af
@ -1188,7 +1188,7 @@ begin
|
|||||||
if (length(W)>0) then
|
if (length(W)>0) then
|
||||||
Move(W[1],Buffer^,Length(W)*SizeOf(Widechar)+1)
|
Move(W[1],Buffer^,Length(W)*SizeOf(Widechar)+1)
|
||||||
else
|
else
|
||||||
PChar(Buffer)^:=#0;
|
PAnsiChar(Buffer)^:=#0;
|
||||||
end;
|
end;
|
||||||
ftfixedchar,
|
ftfixedchar,
|
||||||
ftString:
|
ftString:
|
||||||
@ -1197,7 +1197,7 @@ begin
|
|||||||
if (length(s)>0) then
|
if (length(s)>0) then
|
||||||
Move(S[1],Buffer^,Length(S)+1)
|
Move(S[1],Buffer^,Length(S)+1)
|
||||||
else
|
else
|
||||||
PChar(Buffer)^:=#0;
|
PAnsiChar(Buffer)^:=#0;
|
||||||
end;
|
end;
|
||||||
ftBoolean:
|
ftBoolean:
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user