mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -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;
|
||||
|
||||
// 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
|
||||
long paletteStart = imageInput.getStreamPosition() - 769;
|
||||
@ -400,7 +400,7 @@ public final class PCXImageReader extends ImageReaderBase {
|
||||
}
|
||||
|
||||
// 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();
|
||||
|
||||
if (length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user