summaryrefslogtreecommitdiff
path: root/sys/dev/rasops
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2019-08-07 10:55:51 +0000
committerrin <rin@NetBSD.org>2019-08-07 10:55:51 +0000
commit07121c31b5ef1e559d02649d97e1075498e4225f (patch)
tree69d0df767fcacb05cd3118cc869b4c7f82800d9d /sys/dev/rasops
parent91a4a98f97ffd25ce0445da01013098cd9c61ae3 (diff)
Fix black color-attribution for depths 2 and 4.
Diffstat (limited to 'sys/dev/rasops')
-rw-r--r--sys/dev/rasops/rasops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c
index fb11ba9caf9..70e1a631e0f 100644
--- a/sys/dev/rasops/rasops.c
+++ b/sys/dev/rasops/rasops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.110 2019/08/07 10:53:41 rin Exp $ */
+/* $NetBSD: rasops.c,v 1.111 2019/08/07 10:55:51 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.110 2019/08/07 10:53:41 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.111 2019/08/07 10:55:51 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_rasops.h"
@@ -673,7 +673,7 @@ rasops_allocattr_mono(void *cookie, int fg0, int bg0, int flg, long *attr)
if ((flg & (WSATTR_BLINK | WSATTR_HILIT | WSATTR_WSCOLORS)) != 0)
return EINVAL;
- fg = 1;
+ fg = 0xff;
bg = 0;
if ((flg & WSATTR_REVERSE) != 0) {