Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci add extra parameter for wsfont_find()
details: https://anonhg.NetBSD.org/src/rev/514ee5296d80
branches: trunk
changeset: 772687:514ee5296d80
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Jan 11 20:50:00 2012 +0000
description:
add extra parameter for wsfont_find()
diffstat:
sys/dev/pci/tga.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r fc40c5b59c8f -r 514ee5296d80 sys/dev/pci/tga.c
--- a/sys/dev/pci/tga.c Wed Jan 11 20:46:47 2012 +0000
+++ b/sys/dev/pci/tga.c Wed Jan 11 20:50:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tga.c,v 1.82 2011/01/25 07:17:07 mrg Exp $ */
+/* $NetBSD: tga.c,v 1.83 2012/01/11 20:50:00 macallan Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.82 2011/01/25 07:17:07 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.83 2012/01/11 20:50:00 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -346,10 +346,10 @@
wsfont_init();
/* prefer 8 pixel wide font */
cookie = wsfont_find(NULL, 8, 0, 0, WSDISPLAY_FONTORDER_R2L,
- WSDISPLAY_FONTORDER_L2R);
+ WSDISPLAY_FONTORDER_L2R, WSFONT_FIND_BITMAP);
if (cookie <= 0)
cookie = wsfont_find(NULL, 0, 0, 0, WSDISPLAY_FONTORDER_R2L,
- WSDISPLAY_FONTORDER_L2R);
+ WSDISPLAY_FONTORDER_L2R, WSFONT_FIND_BITMAP);
if (cookie <= 0) {
printf("tga: no appropriate fonts.\n");
return;
Home |
Main Index |
Thread Index |
Old Index