Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 4, 2023
1 parent 3aa1ef0 commit c37bf18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ public char[] finishCurrentSegment() {
int oldLen = _currentSegment.length;
_segmentSize += oldLen;
if (_segmentSize < 0) {
_reportBufferOverflow(_segmentSize, oldLen);
_reportBufferOverflow(_segmentSize - oldLen, oldLen);
}
_currentSize = 0;

Expand Down

0 comments on commit c37bf18

Please sign in to comment.