diff options
Diffstat (limited to 'sys/dev/rasops/rasops_bitops.h')
-rw-r--r-- | sys/dev/rasops/rasops_bitops.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/rasops/rasops_bitops.h b/sys/dev/rasops/rasops_bitops.h index f7ca9e39ff0..f8194b98961 100644 --- a/sys/dev/rasops/rasops_bitops.h +++ b/sys/dev/rasops/rasops_bitops.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rasops_bitops.h,v 1.6 2010/08/28 12:48:14 miod Exp $ */ +/* $OpenBSD: rasops_bitops.h,v 1.7 2017/09/07 11:27:17 bluhm Exp $ */ /* $NetBSD: rasops_bitops.h,v 1.6 2000/04/12 14:22:30 pk Exp $ */ /*- @@ -237,10 +237,8 @@ NAME(copycols)(void *cookie, int row, int src, int dst, int num) rnum = 32 - lnum; db = dst & 31; - if ((src -= db) < 0) { - sp--; + if ((src -= db) < 0) src += 32; - } while (height--) { sp = srp; |