diff options
| author | enami <enami@NetBSD.org> | 2000-01-07 02:57:17 +0000 |
|---|---|---|
| committer | enami <enami@NetBSD.org> | 2000-01-07 02:57:17 +0000 |
| commit | cadfd97e07e5bd3ac97c68bf5dc5285ed8d033b5 (patch) | |
| tree | 23902d299132392223934e5a4f5a92316c77c700 /sys/dev | |
| parent | c85fda06d13e36e69f0b30a430acf72008e28791 (diff) | |
Replace WSFONT_L2R/R2L with WSDISPLAY_FONTORDER_L2R/R2L.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/tc/sfb.c | 6 | ||||
| -rw-r--r-- | sys/dev/wsfont/wsfont.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/tc/sfb.c b/sys/dev/tc/sfb.c index fb5c94abd27..334d69405b2 100644 --- a/sys/dev/tc/sfb.c +++ b/sys/dev/tc/sfb.c @@ -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; } diff --git a/sys/dev/wsfont/wsfont.h b/sys/dev/wsfont/wsfont.h index 08acdcba39d..c258bb172ad 100644 --- a/sys/dev/wsfont/wsfont.h +++ b/sys/dev/wsfont/wsfont.h @@ -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 ... |
