1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #5096 from nnethercote/bidi-length

Right-size |chars.length| and |type.length| in bidi().
This commit is contained in:
Jonas Jenwald 2014-07-29 12:19:22 +02:00
commit 2264748109

View file

@ -119,8 +119,8 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
}
// Get types and fill arrays
chars.length = 0;
types.length = 0;
chars.length = strLength;
types.length = strLength;
var numBidi = 0;
var i, ii;