From 63d3f0626510fe56f11695c09972370a806eba61 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Fri, 9 Sep 2011 00:52:11 +0300 Subject: [PATCH] Fix lastRow bug. It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264. --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 797416c39..ff87078b2 100644 --- a/pdf.js +++ b/pdf.js @@ -825,7 +825,7 @@ var PredictorStream = (function() { currentRow[i] = rawBytes[i]; for (; i < rowBytes; ++i) { var up = prevRow[i]; - var upLeft = lastRow[i - pixBytes]; + var upLeft = prevRow[i - pixBytes]; var left = currentRow[i - pixBytes]; var p = left + up - upLeft;