Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wsfont make this compile again with rotation enabled
details: https://anonhg.NetBSD.org/src/rev/aae0e754b0ea
branches: trunk
changeset: 772710:aae0e754b0ea
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Jan 13 16:08:02 2012 +0000
description:
make this compile again with rotation enabled
diffstat:
sys/dev/wsfont/wsfont.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r b289b974aa7c -r aae0e754b0ea sys/dev/wsfont/wsfont.c
--- a/sys/dev/wsfont/wsfont.c Fri Jan 13 16:06:20 2012 +0000
+++ b/sys/dev/wsfont/wsfont.c Fri Jan 13 16:08:02 2012 +0000
@@ -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 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index