summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2018-12-05 05:52:23 +0000
committermlelstv <mlelstv@NetBSD.org>2018-12-05 05:52:23 +0000
commit67ccc2914fba8d7e9b7634ce5348193a8fcdaaf8 (patch)
treee8b2ee8eb9f2995f30a3387376997dffa7b09501 /sys/dev/rasops
parent1728921233f95183577780c3fdd7668ed5fe9d77 (diff)
It's WSATTR_UNDERLINE, not WS_UNDERLINE.
Diffstat (limited to 'sys/dev/rasops')
-rw-r--r--sys/dev/rasops/rasops4.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/rasops/rasops4.c b/sys/dev/rasops/rasops4.c
index 5f5466ba19d..07536e8341b 100644
--- a/sys/dev/rasops/rasops4.c
+++ b/sys/dev/rasops/rasops4.c
@@ -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 @@ rasops4_putchar(void *cookie, int row, int col, u_int uc, long attr)
}
/* 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 @@ rasops4_putchar(void *cookie, int row, int col, u_int uc, long attr)
}
/* 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 @@ rasops4_putchar8(void *cookie, int row, int col, u_int uc, long attr)
}
/* 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 @@ rasops4_putchar12(void *cookie, int row, int col, u_int uc, long attr)
}
/* 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 @@ rasops4_putchar16(void *cookie, int row, int col, u_int uc, long attr)
}
/* Do underline */
- if ((attr & WS_UNDERLINE) != 0) {
+ if ((attr & WSATTR_UNDERLINE) != 0) {
rp -= (rs << 1);
rp[0] = stamp[15];
rp[1] = stamp[15];