- End-Of-Line marker at the real end of line shouldn't advance the vertical offset.

svn path=/trunk/; revision=9455
This commit is contained in:
Filip Navara 2004-05-21 17:34:24 +00:00
parent d76f0c8745
commit ce81c53f81

View file

@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* *
* $Id: bootvid.c,v 1.9 2004/05/21 17:05:46 navaraf Exp $ * $Id: bootvid.c,v 1.10 2004/05/21 17:34:24 navaraf Exp $
*/ */
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/
@ -402,9 +402,12 @@ InbvDisplayCompressedBitmap()
if (b == 0) if (b == 0)
{ {
/* End of line */ /* End of line */
if (k % bminfo->bV5Width)
{
cury = k / bminfo->bV5Width; cury = k / bminfo->bV5Width;
k = (cury + 1) * bminfo->bV5Width; k = (cury + 1) * bminfo->bV5Width;
} }
}
else if (b == 1) else if (b == 1)
{ {
/* End of image */ /* End of image */