This commit is contained in:
Artur Adib 2011-12-09 14:57:52 -05:00
parent fcbe4f13d1
commit de33e44b09

View File

@ -199,7 +199,7 @@ var PDFImage = (function pdfImage() {
var length = width * height * 4;
// Is there a one-to-one correspondence between pixels in the loop below?
if (length !== 4*comps.length/3)
if (length !== 4 * comps.length / 3)
error('Number of image pixels mismatch (RGB)');
for (var i = 0; i < length; i += 4) {