Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L.

This commit is contained in:
enami 2000-01-07 02:57:17 +00:00
parent c85fda06d1
commit cadfd97e07
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sfb.c,v 1.32 1999/12/16 15:07:00 ad Exp $ */
/* $NetBSD: sfb.c,v 1.33 2000/01/07 02:57:17 enami Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.32 1999/12/16 15:07:00 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.33 2000/01/07 02:57:17 enami Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -321,7 +321,7 @@ sfb_getdevconfig(dense_addr, dc)
/* the accelerated sfb_putchar() needs LSbit left */
if (wsfont_lock(cookie, &dc->rinfo.ri_font,
WSFONT_R2L, WSFONT_L2R) <= 0) {
WSDISPLAY_FONTORDER_R2L, WSDISPLAY_FONTORDER_L2R) <= 0) {
printf("sfb: couldn't lock font\n");
return;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsfont.h,v 1.10 2000/01/05 18:44:26 ad Exp $ */
/* $NetBSD: wsfont.h,v 1.11 2000/01/07 02:57:18 enami Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -55,7 +55,8 @@
* if ((cookie = wsfont_find(NULL, 8, 16, 0, 0)) <= 0)
* panic("unable to get 8x16 font");
*
* if (wsfont_lock(cookie, &font, WSFONT_L2R, WSFONT_R2L) <= 0)
* if (wsfont_lock(cookie, &font, WSDISPLAY_FONTORDER_L2R,
* WSDISPLAY_FONTORDER_R2L) <= 0)
* panic("unable to lock font");
*
* ... do stuff ...