patch-2.3.45 linux/drivers/video/fbcon-mac.c
Next file: linux/drivers/video/fbmem.c
Previous file: linux/drivers/video/bwtwofb.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Feb 13 11:21:43 2000
- Orig file:
v2.3.44/linux/drivers/video/fbcon-mac.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.44/linux/drivers/video/fbcon-mac.c linux/drivers/video/fbcon-mac.c
@@ -331,7 +331,8 @@
u16 *dest16, pix16;
u32 *dest32, pix32;
- if (pixel_x < 0 || pixel_y < 0 || pixel_x >= 832 || pixel_y >= 624) {
+ /* There *are* 68k Macs that support more than 832x624, you know :-) */
+ if (pixel_x < 0 || pixel_y < 0 || pixel_x >= p->var.xres || pixel_y >= p->var.yres) {
int cnt;
printk ("ERROR: pixel_x == %d, pixel_y == %d", pixel_x, pixel_y);
for(cnt = 0; cnt < 100000; cnt++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)