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