Skip to content

Commit a29393b

Browse files
author
Mirroring
committed
Merge commit '1c2a83a930b22cee8cd9a66f3d1e67b2fec55888'
2 parents 4325ff0 + 1c2a83a commit a29393b

File tree

1 file changed

+1
-0
lines changed
  • src/System.Drawing.Common/src/System/Drawing/Internal

1 file changed

+1
-0
lines changed

src/System.Drawing.Common/src/System/Drawing/Internal/GPStream.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ internal GPStream(Stream stream, bool makeSeekable = true)
2020
// Copy to a memory stream so we can seek
2121
MemoryStream memoryStream = new MemoryStream();
2222
stream.CopyTo(memoryStream);
23+
memoryStream.Position = 0;
2324
_dataStream = memoryStream;
2425
}
2526
else

0 commit comments

Comments
 (0)