Commit b080ea4
authored
Fix offset error in StdIn buffering
When the stdin handler returns a string with a newline character,
the `GhostscriptStdIO` class incorrectly removes the number of
bytes requested from ghostscript rather than the number of bytes
processed before the early return.
Instead of removing `count` characters from the buffer string, remove
only `position` characters.1 parent f832a32 commit b080ea4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments