Browse Source

Use missed offset

pull/1574/head
James Jackson-South 6 years ago
parent
commit
5a7ddad52f
  1. 2
      src/ImageSharp/IO/BufferedReadStream.cs

2
src/ImageSharp/IO/BufferedReadStream.cs

@ -286,7 +286,7 @@ namespace SixLabors.ImageSharp.IO
int i; int i;
do do
{ {
i = this.BaseStream.Read(buffer, n, count - n); i = this.BaseStream.Read(buffer, n + offset, count - n);
n += i; n += i;
} }
while (n < count && i > 0); while (n < count && i > 0);

Loading…
Cancel
Save