From fc1aa8099e5b659278fba16df832db45d1819f48 Mon Sep 17 00:00:00 2001 From: macallan Date: Mon, 12 Sep 2005 12:07:47 +0000 Subject: [PATCH] add a blank line before case WSDISPLAYIO_LINEBYTES --- sys/dev/ic/igsfb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/igsfb.c b/sys/dev/ic/igsfb.c index 33f47c0a271f..747ab96a9895 100644 --- a/sys/dev/ic/igsfb.c +++ b/sys/dev/ic/igsfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: igsfb.c,v 1.21 2005/09/12 11:02:21 macallan Exp $ */ +/* $NetBSD: igsfb.c,v 1.22 2005/09/12 12:07:47 macallan Exp $ */ /* * Copyright (c) 2002, 2003 Valeriy E. Ushakov @@ -31,7 +31,7 @@ * Integraphics Systems IGA 168x and CyberPro series. */ #include -__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.21 2005/09/12 11:02:21 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.22 2005/09/12 12:07:47 macallan Exp $"); #include #include @@ -457,6 +457,8 @@ igsfb_init_wsdisplay(dc) /* XXX: TODO: compute term size based on font dimensions? */ rasops_init(ri, 34, 80); + rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight, + ri->ri_width / ri->ri_font->fontwidth); /* use the sprite for the text mode cursor */ @@ -629,6 +631,7 @@ igsfb_ioctl(v, cmd, data, flag, p) wsd_fbip->cmsize = IGS_CMAP_SIZE; #undef wsd_fbip return (0); + case WSDISPLAYIO_LINEBYTES: ri = &dc->dc_ri; *(int *)data = ri->ri_stride;