Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix botch in previous.



details:   https://anonhg.NetBSD.org/src/rev/e0d7895880fc
branches:  trunk
changeset: 523684:e0d7895880fc
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Mar 13 23:17:18 2002 +0000

description:
Fix botch in previous.

diffstat:

 sys/dev/ic/vga.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r d060bd3c341c -r e0d7895880fc sys/dev/ic/vga.c
--- a/sys/dev/ic/vga.c  Wed Mar 13 23:12:11 2002 +0000
+++ b/sys/dev/ic/vga.c  Wed Mar 13 23:17:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga.c,v 1.47 2002/03/13 15:05:15 ad Exp $ */
+/* $NetBSD: vga.c,v 1.48 2002/03/13 23:17:18 ad Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.47 2002/03/13 15:05:15 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vga.c,v 1.48 2002/03/13 23:17:18 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -349,8 +349,7 @@
 
        TAILQ_FOREACH(f, &vc->vc_fontlist, next) {
                if (wsfont_matches(f->wsfont, name,
-                                  8, scr->pcs.type->fontheight, 0,
-                                  WSDISPLAY_FONTORDER_L2R, 0) &&
+                                  8, scr->pcs.type->fontheight, 0) &&
                    (!primary || vga_valid_primary_font(f))) {
 #ifdef VGAFONTDEBUG
                        if (scr != &vga_console_screen || vga_console_attached)
@@ -361,7 +360,8 @@
                }
        }
 
-       cookie = wsfont_find(name, 8, scr->pcs.type->fontheight, 0);
+       cookie = wsfont_find(name, 8, scr->pcs.type->fontheight, 0,
+                            WSDISPLAY_FONTORDER_L2R, 0);
        /* XXX obey "primary" */
        if (cookie == -1) {
 #ifdef VGAFONTDEBUG



Home | Main Index | Thread Index | Old Index