Skip to content

Commit

Permalink
small consistency fix for TTextWriter.FlushToStream
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Nov 20, 2020
1 parent de67fbf commit 0af9f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SynCommons.pas
Original file line number Diff line number Diff line change
Expand Up @@ -56264,7 +56264,7 @@ procedure TTextWriter.FlushToStream;
exclude(fCustomOptions,twoBufferIsExternal) else
FreeMem(fTempBuf); // with big content comes bigger buffer
GetMem(fTempBuf,fTempBufSize);
BEnd := fTempBuf+(fTempBufSize-2);
BEnd := fTempBuf+(fTempBufSize-16);
end;
end;
B := fTempBuf-1;
Expand Down
2 changes: 1 addition & 1 deletion SynopseCommit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'1.18.6169'
'1.18.6170'

0 comments on commit 0af9f7a

Please sign in to comment.