[Pkg-javascript-commits] [pdf.js] 74/246: Add strict equalities in src/core/arithmetic_decoder.js

David Prévot taffit at moszumanska.debian.org
Sun Sep 7 15:36:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 2162a19ed956c0cef6e7dc3bffc5f0cc58be5d11
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Fri Aug 1 18:23:49 2014 +0200

    Add strict equalities in src/core/arithmetic_decoder.js
---
 src/core/arithmetic_decoder.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/arithmetic_decoder.js b/src/core/arithmetic_decoder.js
index 6d21cf6..29f3a60 100644
--- a/src/core/arithmetic_decoder.js
+++ b/src/core/arithmetic_decoder.js
@@ -99,7 +99,7 @@ var ArithmeticDecoder = (function ArithmeticDecoderClosure() {
     byteIn: function ArithmeticDecoder_byteIn() {
       var data = this.data;
       var bp = this.bp;
-      if (data[bp] == 0xFF) {
+      if (data[bp] === 0xFF) {
         var b1 = data[bp + 1];
         if (b1 > 0x8F) {
           this.clow += 0xFF00;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list