diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-30 03:44:32 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-30 03:44:32 +0200 |
commit | c79ff823786c3ae546060abab880e6bb9c67871c (patch) | |
tree | 08aa38138e8e61c232501cdf79e6f4becd9d4805 /draw | |
parent | de914e08d64378696d73e708b6a06d1721997d45 (diff) | |
download | mupdf-c79ff823786c3ae546060abab880e6bb9c67871c.tar.xz |
Fix typo in duff_1i1o1 where the strides were not being adjusted.
Diffstat (limited to 'draw')
-rw-r--r-- | draw/porterduff.c | 3 |
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; |