diff options
author | Tom Wai-Hong Tam <waihong@chromium.org> | 2012-09-28 15:11:14 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-11-07 00:57:22 +0100 |
commit | fecac46cf8757dc4f00a7812310e060f3b0c6eb4 (patch) | |
tree | 0f7b1409237a4cfdd473ef62a658f2810ba5b69c /lib | |
parent | 395166cffbb427bfb0da051ac044118a592e5c0b (diff) | |
download | u-boot-imx-fecac46cf8757dc4f00a7812310e060f3b0c6eb4.zip u-boot-imx-fecac46cf8757dc4f00a7812310e060f3b0c6eb4.tar.gz u-boot-imx-fecac46cf8757dc4f00a7812310e060f3b0c6eb4.tar.bz2 |
lcd: Fix BMP decode bug that skips the wrong padded row
This change fixed 2 things:
- Rename padded_line to padded_width since it is (width + padded_row) not line.
- When finished a line, should skip the padded_row that is
(padded_width - width) instead of (width - padded_width).
Reference: http://en.wikipedia.org/wiki/BMP_file_format
Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions