summaryrefslogtreecommitdiff
path: root/fitz/filt_faxd.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-11-21 00:54:53 +0000
committerRobin Watts <robin.watts@artifex.com>2012-11-21 00:56:34 +0000
commit06ab03422110773744d6028b2d128702d2fbcfce (patch)
tree164429c94610f7632fead738813b4b7a472f674e /fitz/filt_faxd.c
parent4fa01e0858b2aa2b78bfc3897abe49b275bb831e (diff)
downloadmupdf-06ab03422110773744d6028b2d128702d2fbcfce.tar.xz
Bug 693458: Fix typo in fax decoder.
Silly slip in my optimised code that results in failing to find differences at the ends of lines.
Diffstat (limited to 'fitz/filt_faxd.c')
-rw-r--r--fitz/filt_faxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_faxd.c b/fitz/filt_faxd.c
index 1de6b970..421f4d5c 100644
--- a/fitz/filt_faxd.c
+++ b/fitz/filt_faxd.c
@@ -237,7 +237,7 @@ nearend:
if ((x<<3) == w)
return w;
b = a&1;
- b = line[x];
+ a = line[x];
b = (b<<7) ^ a ^ (a>>1);
x = (x<<3) + clz[b];
if (x > w)