Skip to content

Commit 303418a

Browse files
authored
Merge pull request ArtifexSoftware#49 from ajalex74/master
Fixed issue with CopyStream helper
2 parents b82e853 + 0b4ca51 commit 303418a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ghostscript.NET/Helpers/StreamHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public static void CopyStream(Stream input, Stream output)
168168

169169
do
170170
{
171-
n = output.Read(buffer, 0, buffer.Length);
171+
n = input.Read(buffer, 0, buffer.Length);
172172
output.Write(buffer, 0, n);
173173
} while (n != 0);
174174
}

0 commit comments

Comments
 (0)