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

Fix the remaining ESLint operator-assignment errors

This commit is contained in:
Jonas Jenwald 2021-07-04 11:55:33 +02:00
parent 901b24e8af
commit 819be0e78b
5 changed files with 6 additions and 6 deletions

View file

@ -534,7 +534,7 @@ const BinaryCMapReader = (function BinaryCMapReaderClosure() {
bufferSize = 0;
while (i >= 0) {
while (bufferSize < 8 && stack.length > 0) {
buffer = (stack[--sp] << bufferSize) | buffer;
buffer |= stack[--sp] << bufferSize;
bufferSize += 7;
}
num[i] = buffer & 255;