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 missing underlines on mono screen.
details: https://anonhg.NetBSD.org/src/rev/3bcf5e15e682
branches: trunk
changeset: 462233:3bcf5e15e682
user: rin <rin%NetBSD.org@localhost>
date: Mon Jul 29 01:04:20 2019 +0000
description:
Fix missing underlines on mono screen.
Style.
diffstat:
sys/dev/rasops/rasops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 5753c65ed244 -r 3bcf5e15e682 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c Sun Jul 28 21:43:39 2019 +0000
+++ b/sys/dev/rasops/rasops.c Mon Jul 29 01:04:20 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.94 2019/07/28 12:06:10 rin Exp $ */
+/* $NetBSD: rasops.c,v 1.95 2019/07/29 01:04:20 rin Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.94 2019/07/28 12:06:10 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.95 2019/07/29 01:04:20 rin Exp $");
#include "opt_rasops.h"
#include "rasops_glue.h"
@@ -511,7 +511,7 @@
rasops8_init(ri);
break;
#endif
-#if NRASOPS15 > 0 || NRASOPS16 > 0
+#if (NRASOPS15 + NRASOPS16) > 0
case 15:
case 16:
rasops15_init(ri);
@@ -659,7 +659,7 @@
bg = swap;
}
- *attr = (bg << 16) | (fg << 24) | ((flg & WSATTR_UNDERLINE) ? 7 : 6);
+ *attr = (bg << 16) | (fg << 24) | flg;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index