summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-30 03:44:32 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-30 03:44:32 +0200
commitc79ff823786c3ae546060abab880e6bb9c67871c (patch)
tree08aa38138e8e61c232501cdf79e6f4becd9d4805 /draw
parentde914e08d64378696d73e708b6a06d1721997d45 (diff)
downloadmupdf-c79ff823786c3ae546060abab880e6bb9c67871c.tar.xz
Fix typo in duff_1i1o1 where the strides were not being adjusted.
Diffstat (limited to 'draw')
-rw-r--r--draw/porterduff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/draw/porterduff.c b/draw/porterduff.c
index d36dcfe6..884a3830 100644
--- a/draw/porterduff.c
+++ b/draw/porterduff.c
@@ -182,6 +182,9 @@ duff_1i1o1(byte * restrict sp, int sw, byte * restrict mp, int mw, byte * restri
{
/* duff_nimon(sp0, sw, 1, mp0, mw, 1, dp0, dw, w0, h); */
+ sw -= w0;
+ dw -= w0;
+ mw -= w0;
while (h--)
{
int w = w0;