* fixed SETTEXTBUF

git-svn-id: trunk@2566 -
This commit is contained in:
Jonas Maebe 2006-02-14 10:35:24 +00:00
parent 0ac6978b00
commit dc5c79194f

View File

@ -1232,7 +1232,6 @@ implementation
vr : bestreal;
hightree,
hp : tnode;
srsym : tsym;
checkrange : boolean;
label
myexit;
@ -1698,10 +1697,9 @@ implementation
begin
resulttype:=voidtype;
{ now we know the type of buffer }
srsym:=search_system_type('SETTEXTBUF');
hp:=ccallparanode.create(cordconstnode.create(
tcallparanode(left).left.resulttype.def.size,s32inttype,true),left);
result:=ccallnode.create(hp,tprocsym(srsym),systemunit,nil,[]);
result:=ccallnode.createintern('SETTEXTBUF',hp);
left:=nil;
end;