Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/rasops Fix fatal (but probably unused) typo in ri->r...



details:   https://anonhg.NetBSD.org/src/rev/7082dd4e800c
branches:  trunk
changeset: 786922:7082dd4e800c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue May 21 15:50:09 2013 +0000

description:
Fix fatal (but probably unused) typo in ri->ri_hwbits case in copycols.

diffstat:

 sys/dev/rasops/rasops_bitops.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d6a6e3efad0d -r 7082dd4e800c sys/dev/rasops/rasops_bitops.h
--- a/sys/dev/rasops/rasops_bitops.h    Tue May 21 12:07:03 2013 +0000
+++ b/sys/dev/rasops/rasops_bitops.h    Tue May 21 15:50:09 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rasops_bitops.h,v 1.12 2010/04/08 16:45:53 macallan Exp $      */
+/*     $NetBSD: rasops_bitops.h,v 1.13 2013/05/21 15:50:09 tsutsui Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -313,7 +313,7 @@
                                PUTBITS(tmp, 0, db, dp);
                                if (ri->ri_hwbits) {
                                        PUTBITS(tmp, 0, db, hp);
-                                       hp++;
+                                       hp--;
                                }
                                dp--;
                                sp--;



Home | Main Index | Thread Index | Old Index