From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antonino Daplas Subject: Re: Some questions Date: 08 Mar 2003 13:40:28 +0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1047101983.1231.2.camel@localhost.localdomain> References: <3E688BDA.80 80506@winischhofer.net> <1047045694.1310.6.camel@localhost.localdomain> <3E68B895.2080500@winischhofer.net> <1047067923.1226.26.camel@localhost.localdomain> <3E69065D.3090706@winischhofer.net> <1047084988.2388.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from pine.compass.com.ph ([202.70.96.37]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18rX3z-0008HW-00 for ; Fri, 07 Mar 2003 21:40:03 -0800 In-Reply-To: <1047084988.2388.4.camel@localhost.localdomain> Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Antonino Daplas Cc: Thomas Winischhofer , James Simmons , Sven Luther , Linux Fbdev development list On Sat, 2003-03-08 at 08:58, Antonino Daplas wrote: > On Sat, 2003-03-08 at 04:51, Thomas Winischhofer wrote: > > I don't see why this is simpler, but I do see it wastes a lot of screen > > space :) > > > > yep, it'a a typo. > > Tony > > diff -Naur linux-2.5.64-fbdev/drivers/video/console/fbcon.c linux-2.5.64/drivers/video/console/fbcon.c > --- linux-2.5.64-fbdev/drivers/video/console/fbcon.c 2003-03-07 15:03:06.000000000 +0000 > +++ linux-2.5.64/drivers/video/console/fbcon.c 2003-03-08 00:49:09.000000000 +0000 > @@ -1044,6 +1044,7 @@ > vc->vc_rows = nr_rows; > } > p->vrows = info->var.yres_virtual / vc->vc_font.height; > + p->vrows -= info->var.yres/h - vc->vc_rows; ^^^^^^^^^^^^^^^^ I also meant info->var.yres/vc->vc_font.height :-) Tony ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com