Module Name: src Committed By: macallan Date: Fri Jan 13 16:08:02 UTC 2012
Modified Files: src/sys/dev/wsfont: wsfont.c Log Message: make this compile again with rotation enabled To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/dev/wsfont/wsfont.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/wsfont/wsfont.c diff -u src/sys/dev/wsfont/wsfont.c:1.53 src/sys/dev/wsfont/wsfont.c:1.54 --- src/sys/dev/wsfont/wsfont.c:1.53 Wed Jan 11 15:52:32 2012 +++ src/sys/dev/wsfont/wsfont.c Fri Jan 13 16:08:02 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: wsfont.c,v 1.53 2012/01/11 15:52:32 macallan Exp $ */ +/* $NetBSD: wsfont.c,v 1.54 2012/01/13 16:08:02 macallan Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.53 2012/01/11 15:52:32 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wsfont.c,v 1.54 2012/01/13 16:08:02 macallan Exp $"); #include "opt_wsfont.h" @@ -506,9 +506,9 @@ wsfont_rotate(int cookie, int rotate) default: return (-1); } - + /* rotation works only with bitmap fonts so far */ ncookie = wsfont_find(font->name, font->fontwidth, font->fontheight, - font->stride, 0, 0); + font->stride, 0, 0, WSFONT_FIND_BITMAP); return (ncookie); }