Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/rasops It's WSATTR_UNDERLINE, not WS_UNDERLINE.



details:   https://anonhg.NetBSD.org/src/rev/93cd6a57312f
branches:  trunk
changeset: 446434:93cd6a57312f
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Wed Dec 05 05:52:23 2018 +0000

description:
It's WSATTR_UNDERLINE, not WS_UNDERLINE.

diffstat:

 sys/dev/rasops/rasops4.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 107ce550e40a -r 93cd6a57312f sys/dev/rasops/rasops4.c
--- a/sys/dev/rasops/rasops4.c  Wed Dec 05 03:14:28 2018 +0000
+++ b/sys/dev/rasops/rasops4.c  Wed Dec 05 05:52:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rasops4.c,v 1.12 2018/12/04 09:27:59 mlelstv Exp $     */
+/*     $NetBSD: rasops4.c,v 1.13 2018/12/05 05:52:23 mlelstv Exp $     */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.12 2018/12/04 09:27:59 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops4.c,v 1.13 2018/12/05 05:52:23 mlelstv Exp $");
 
 #include "opt_rasops.h"
 
@@ -159,7 +159,7 @@
                }
 
                /* Do underline */
-               if (attr & WS_UNDERLINE) {
+               if (attr & WSATTR_UNDERLINE) {
                        DELTA(rp, -(ri->ri_stride << 1), int32_t *);
                        *rp = (*rp & lmask) | (fg & rmask);
                }
@@ -196,7 +196,7 @@
                }
 
                /* Do underline */
-               if (attr & WS_UNDERLINE) {
+               if (attr & WSATTR_UNDERLINE) {
                        DELTA(rp, -(ri->ri_stride << 1), int32_t *);
                        rp[0] = (rp[0] & lmask) | (fg & ~lmask);
                        rp[1] = (rp[1] & rmask) | (fg & ~rmask);
@@ -311,7 +311,7 @@
        }
 
        /* Do underline */
-       if ((attr & WS_UNDERLINE) != 0) {
+       if ((attr & WSATTR_UNDERLINE) != 0) {
                rp -= (rs << 1);
                rp[0] = stamp[15];
                rp[1] = stamp[15];
@@ -383,7 +383,7 @@
        }
 
        /* Do underline */
-       if ((attr & WS_UNDERLINE) != 0) {
+       if ((attr & WSATTR_UNDERLINE) != 0) {
                rp -= (rs << 1);
                rp[0] = stamp[15];
                rp[1] = stamp[15];
@@ -458,7 +458,7 @@
        }
 
        /* Do underline */
-       if ((attr & WS_UNDERLINE) != 0) {
+       if ((attr & WSATTR_UNDERLINE) != 0) {
                rp -= (rs << 1);
                rp[0] = stamp[15];
                rp[1] = stamp[15];



Home | Main Index | Thread Index | Old Index