Displaying 1 result from an estimated 1 matches for "font_vga_8x8".
Did you mean:
font_vga_8x14
2007 Jan 11
0
[PATCH] set VGA console to 50 lines by default
...9;'-'' )
+ vgacon_lines = 0;
}
video = setup_vga();
@@ -601,17 +603,18 @@ void vga_init(void)
case 34:
font = &font_vga_8x14;
break;
+ default:
+ vgacon_lines = 50;
case 43:
case 50:
case 60:
font = &font_vga_8x8;
break;
- default:
- vgacon_lines = 25;
+ case 0:
break;
}
- if ( (font != NULL) && (vga_load_font(font, vgacon_lines) < 0) )
+ if ( (font == NULL) || (vga_load_font(font, vgacon_lines) < 0) )
{
vgacon_lines = 25;
font...