hedgewars/uIO.pas
branchqmlfrontend
changeset 10748 dc587913987c
parent 10606 8e95911cb86b
parent 10663 9bbb29d2bd68
child 10886 99273b7afbff
equal deleted inserted replaced
10616:20a2d5e6930a 10748:dc587913987c
   178 i:= 0; // avoid compiler hints
   178 i:= 0; // avoid compiler hints
   179 s[0]:= #0;
   179 s[0]:= #0;
   180 repeat
   180 repeat
   181     BlockRead(f, s[1], 255 - Length(ss), i);
   181     BlockRead(f, s[1], 255 - Length(ss), i);
   182     if i > 0 then
   182     if i > 0 then
   183     begin
   183         begin
   184         s[0]:= char(i);
   184         s[0]:= char(i);
   185         ss:= ss + s;
   185         ss:= ss + s;
   186         while (Length(ss) > 1)and(Length(ss) > byte(ss[1])) do
   186         while (Length(ss) > 1)and(Length(ss) > byte(ss[1])) do
   187             begin
   187             begin
   188             ParseIPCCommand(copy(ss, 2, byte(ss[1])));
   188             ParseIPCCommand(copy(ss, 2, byte(ss[1])));