summaryrefslogtreecommitdiff
path: root/draw/imageunpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/imageunpack.c')
-rw-r--r--draw/imageunpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/imageunpack.c b/draw/imageunpack.c
index 4c9923fd..4e876092 100644
--- a/draw/imageunpack.c
+++ b/draw/imageunpack.c
@@ -28,7 +28,7 @@ static void decodetile(fz_pixmap *pix, int skip, float *decode)
min[i] = decode[(i - skip) * 2] * 255;
max[i] = decode[(i - skip) * 2 + 1] * 255;
sub[i] = max[i] - min[i];
- needed |= (min[i] != 0) | (max[i] != 255);
+ needed |= (min[i] != 0) | (max[i] != 255);
justinvert &= min[i] == 255 && max[i] == 0 && sub[i] == -255;
}