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/112961a59c4e
branches: trunk
changeset: 837450:112961a59c4e
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 85e2a8a38c3f -r 112961a59c4e 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