mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Fix a stupid spelling error in the ASCII85Decode
name in Parser.makeInlineImage
(issue 8613)
This is a trivial follow-up to PR 5383, and it's a bit strange that this has been wrong since late 2014 without anyone noticing (maybe because inline images aren't too common). So, apparently code works better if you actually spell correctly, who knew ;-) Fixes 8613.
This commit is contained in:
parent
b3bac5100c
commit
ea71d23f74
3 changed files with 9 additions and 1 deletions
|
@ -373,7 +373,7 @@ var Parser = (function ParserClosure() {
|
|||
var startPos = stream.pos, length, i, ii;
|
||||
if (filterName === 'DCTDecode' || filterName === 'DCT') {
|
||||
length = this.findDCTDecodeInlineStreamEnd(stream);
|
||||
} else if (filterName === 'ASCII85Decide' || filterName === 'A85') {
|
||||
} else if (filterName === 'ASCII85Decode' || filterName === 'A85') {
|
||||
length = this.findASCII85DecodeInlineStreamEnd(stream);
|
||||
} else if (filterName === 'ASCIIHexDecode' || filterName === 'AHx') {
|
||||
length = this.findASCIIHexDecodeInlineStreamEnd(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue