Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/luna68k/dev Initialize capabilities in struct wsscr...



details:   https://anonhg.NetBSD.org/src/rev/f38814fae51d
branches:  trunk
changeset: 325240:f38814fae51d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Dec 14 19:51:13 2013 +0000

description:
Initialize capabilities in struct wsscreen_descr per omrasops settings.

Now REVERSE characters are drawn properly.

diffstat:

 sys/arch/luna68k/dev/lunafb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 245911eba82b -r f38814fae51d sys/arch/luna68k/dev/lunafb.c
--- a/sys/arch/luna68k/dev/lunafb.c     Sat Dec 14 19:27:41 2013 +0000
+++ b/sys/arch/luna68k/dev/lunafb.c     Sat Dec 14 19:51:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lunafb.c,v 1.27 2013/07/19 16:35:57 tsutsui Exp $ */
+/* $NetBSD: lunafb.c,v 1.28 2013/12/14 19:51:13 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: lunafb.c,v 1.27 2013/07/19 16:35:57 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lunafb.c,v 1.28 2013/12/14 19:51:13 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -461,6 +461,7 @@
        omfb_stdscreen.nrows = ri->ri_rows;
        omfb_stdscreen.ncols = ri->ri_cols;
        omfb_stdscreen.textops = &ri->ri_ops;
+       omfb_stdscreen.capabilities = ri->ri_caps;
        omfb_stdscreen.fontwidth = ri->ri_font->fontwidth;
        omfb_stdscreen.fontheight = ri->ri_font->fontheight;
 }



Home | Main Index | Thread Index | Old Index