Browse Source

+ Normal characters get written to the wrong buffer

git-svn-id: trunk@4747 -
michael 19 years ago
parent
commit
c863a91be9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/win/crt.pp

+ 1 - 1
rtl/win/crt.pp

@@ -784,7 +784,7 @@ Begin
       end;
       else begin
         if f.bufpos<f.bufsize-2 then begin
-          f.buffer[f.bufpos]:=ch;
+          f.bufptr^[f.bufpos]:=ch;
           inc(f.bufpos);
           WriteChar(ch);
         end;