mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 12:05:29 -04:00
Fix typo.
This commit is contained in:
parent
072e655b03
commit
23ed1e0279
@ -372,7 +372,7 @@ public final class PCXImageReader extends ImageReaderBase {
|
|||||||
readPalette = true;
|
readPalette = true;
|
||||||
|
|
||||||
// Wee can't simply skip to an offset, as the RLE compression makes the file size unpredictable
|
// Wee can't simply skip to an offset, as the RLE compression makes the file size unpredictable
|
||||||
skiptToEOF(imageInput);
|
skipToEOF(imageInput);
|
||||||
|
|
||||||
// Seek backwards from EOF
|
// Seek backwards from EOF
|
||||||
long paletteStart = imageInput.getStreamPosition() - 769;
|
long paletteStart = imageInput.getStreamPosition() - 769;
|
||||||
@ -400,7 +400,7 @@ public final class PCXImageReader extends ImageReaderBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Candidate util method
|
// TODO: Candidate util method
|
||||||
private static long skiptToEOF(final ImageInputStream stream) throws IOException {
|
private static long skipToEOF(final ImageInputStream stream) throws IOException {
|
||||||
long length = stream.length();
|
long length = stream.length();
|
||||||
|
|
||||||
if (length > 0) {
|
if (length > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user