From 5d95c4499b265001b6681af60f7cc93fbe54970d Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 13 Mar 2002 23:17:18 +0000 Subject: [PATCH] Fix botch in previous. --- sys/dev/ic/vga.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index b231491f395b..f42bc546a301 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -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 -__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 #include @@ -349,8 +349,7 @@ egavga_getfont(struct vga_config *vc, struct vgascreen *scr, char *name, 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 @@ egavga_getfont(struct vga_config *vc, struct vgascreen *scr, char *name, } } - 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