Module Name: src
Committed By: rin
Date: Wed Aug 7 10:55:51 UTC 2019
Modified Files:
src/sys/dev/rasops: rasops.c
Log Message:
Fix black color-attribution for depths 2 and 4.
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/rasops/rasops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/rasops/rasops.c
diff -u src/sys/dev/rasops/rasops.c:1.110 src/sys/dev/rasops/rasops.c:1.111
--- src/sys/dev/rasops/rasops.c:1.110 Wed Aug 7 10:53:41 2019
+++ src/sys/dev/rasops/rasops.c Wed Aug 7 10:55:51 2019
@@ -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
if ((flg & (WSATTR_BLINK | WSATTR_HILIT | WSATTR_WSCOLORS)) != 0)
return EINVAL;
- fg = 1;
+ fg = 0xff;
bg = 0;
if ((flg & WSATTR_REVERSE) != 0) {