summaryrefslogtreecommitdiff
path: root/draw/draw_affine.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-08-06 02:34:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-08-06 02:34:39 +0200
commit70d7705aaa7a31436b50976482825e9f8c1f6c4e (patch)
treee8b641b46b3c79468809d4d2316562db84adf825 /draw/draw_affine.c
parent7926d3cbd583e45e59532fa473713e7d54424811 (diff)
downloadmupdf-70d7705aaa7a31436b50976482825e9f8c1f6c4e.tar.xz
Cosmetic style fixes.
Diffstat (limited to 'draw/draw_affine.c')
-rw-r--r--draw/draw_affine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/draw_affine.c b/draw/draw_affine.c
index 249e6215..95d28bea 100644
--- a/draw/draw_affine.c
+++ b/draw/draw_affine.c
@@ -516,8 +516,8 @@ fz_paint_image_imp(fz_pixmap *dst, fz_bbox scissor, fz_pixmap *shape, fz_pixmap
fd = inv.d * 65536;
/* Calculate initial texture positions. Do a half step to start. */
- u = (fa * x) + (fc * y) + inv.e * 65536 + ((fa+fc)>>1);
- v = (fb * x) + (fd * y) + inv.f * 65536 + ((fb+fd)>>1);
+ u = (fa * x) + (fc * y) + inv.e * 65536 + ((fa + fc) >> 1);
+ v = (fb * x) + (fd * y) + inv.f * 65536 + ((fb + fd) >> 1);
dp = dst->samples + ((y - dst->y) * dst->w + (x - dst->x)) * dst->n;
n = dst->n;