patch-2.2.7 linux/drivers/video/fbcon-cfb4.c
Next file: linux/drivers/video/fbcon.c
Previous file: linux/drivers/video/fbcon-cfb2.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Apr 28 08:48:45 1999
- Orig file:
v2.2.6/linux/drivers/video/fbcon-cfb4.c
- Orig date:
Wed Mar 10 15:29:48 1999
diff -u --recursive --new-file v2.2.6/linux/drivers/video/fbcon-cfb4.c linux/drivers/video/fbcon-cfb4.c
@@ -50,7 +50,7 @@
void fbcon_cfb4_setup(struct display *p)
{
- p->next_line = p->var.xres_virtual>>1;
+ p->next_line = p->line_length ? p->line_length : p->var.xres_virtual>>1;
p->next_plane = 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)