Module Name:    src
Committed By:   macallan
Date:           Wed Jan 11 20:50:00 UTC 2012

Modified Files:
        src/sys/dev/pci: tga.c

Log Message:
add extra parameter for wsfont_find()


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/pci/tga.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/tga.c
diff -u src/sys/dev/pci/tga.c:1.82 src/sys/dev/pci/tga.c:1.83
--- src/sys/dev/pci/tga.c:1.82	Tue Jan 25 07:17:07 2011
+++ src/sys/dev/pci/tga.c	Wed Jan 11 20:50:00 2012
@@ -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 @@ tga_init(bus_space_tag_t memt, pci_chips
 	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;

Reply via email to