video: fix bug in logo_plot
authorAnatolij Gustschin <agust@denx.de>
Fri, 8 Aug 2008 16:00:39 +0000 (18:00 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 10 Aug 2008 22:24:04 +0000 (00:24 +0200)
commitd9015f6a50d7258125349ef5c2af836458a0029a
treee975e66dd6346f1676ff5bdb90e622787ce27eb3
parent406819ae94f79f5b59e01d163380ca7d83709251
video: fix bug in logo_plot

If logo_plot() should ever be called with x starting
position other than zero and for pixel depths greater
than 8bpp, logo colors distortion will be observed.
This patch fixes the issue.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c