Fix the calculation of bytes_per_pixel
authorH. Peter Anvin <hpa@zytor.com>
Thu, 14 Feb 2008 02:03:17 +0000 (18:03 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 14 Feb 2008 02:03:17 +0000 (18:03 -0800)
commit2079650b3e6dbe302fe27e5256fd412894c2f4b9
treefb019871e140ef37c04784b3856d1596091a51e2
parent4d36df22fcb042a595300fb7d61b64b58caf018d
Fix the calculation of bytes_per_pixel

Handle cases where __vesa_info.mi.bpp is not a multiple of 8, e.g. 15.
Remove totally redundant switch statement in vesacon_update_characters().
com32/lib/sys/vesa/drawtxt.c
com32/lib/sys/vesa/initvesa.c