diff --git a/rtl/linux/crt.pp b/rtl/linux/crt.pp index 5b84259404..8bd9b81c20 100644 --- a/rtl/linux/crt.pp +++ b/rtl/linux/crt.pp @@ -1397,11 +1397,11 @@ begin begin readed:=fdRead(1,buf,sizeof(buf)); i:=0; - while (i+4#27) and (buf[i+1]<>'[') do + while (i+5#27) and (buf[i+1]<>'[') do inc(i); - if i+40 then @@ -1409,8 +1409,8 @@ begin Val(Copy(s,1,i-1),y); j:=Pos('R',s); if j=0 then - j:=length(s)+1; - Val(Copy(s,i+1,j-i),x); + j:=length(s); + Val(Copy(s,i+1,j-(i+1)),x); end; end; end; @@ -1492,7 +1492,10 @@ Begin End. { $Log$ - Revision 1.11 1998-10-30 12:11:51 peter + Revision 1.12 1998-11-10 15:01:01 peter + * fixed GetXY at startup + + Revision 1.11 1998/10/30 12:11:51 peter * fixed fullwi, which did not check for 1,1 Revision 1.10 1998/10/27 11:13:27 peter