Merge branch 'master' of github.com:andreasgal/pdf.js

This commit is contained in:
Andreas Gal 2011-05-12 23:35:31 -07:00
commit d8366507d0

4
pdf.js
View File

@ -1199,11 +1199,11 @@ var Lexer = (function() {
ch = stream.lookChar(); ch = stream.lookChar();
if (ch >= '0' && ch <= '7') { if (ch >= '0' && ch <= '7') {
stream.skip(); stream.skip();
x = (x << 3) + (x - '0'); x = (x << 3) + (ch - '0');
ch = stream.lookChar(); ch = stream.lookChar();
if (ch >= '0' && ch <= '7') { if (ch >= '0' && ch <= '7') {
stream.skip(); stream.skip();
x = (x << 3) + (x - '0'); x = (x << 3) + (ch - '0');
} }
} }
str += String.fromCharCode(x); str += String.fromCharCode(x);