1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Stops objects indexing at the end

This commit is contained in:
Yury Delendik 2013-08-23 12:57:11 -05:00
parent 8fc1e669f0
commit 1f232ded90
5 changed files with 79 additions and 0 deletions

View file

@ -758,6 +758,9 @@ var XRef = (function XRefClosure() {
if (ch === 37) { // %-comment
do {
++position;
if (position >= length) {
break;
}
ch = buffer[position];
} while (ch !== 13 && ch !== 10);
continue;