fix for bug with empty strings
This commit is contained in:
parent
42eda3e67d
commit
5434cd3a0b
3
pdf.js
3
pdf.js
@ -2187,7 +2187,6 @@ var Lexer = (function() {
|
||||
return value;
|
||||
},
|
||||
getString: function() {
|
||||
var n = 0;
|
||||
var numParen = 1;
|
||||
var done = false;
|
||||
var str = '';
|
||||
@ -2269,8 +2268,6 @@ var Lexer = (function() {
|
||||
break;
|
||||
}
|
||||
} while (!done);
|
||||
if (!str.length)
|
||||
return EOF;
|
||||
return str;
|
||||
},
|
||||
getName: function(ch) {
|
||||
|
Loading…
Reference in New Issue
Block a user