commit | fecac46cf8757dc4f00a7812310e060f3b0c6eb4 | [log] [tgz] |
---|---|---|
author | Tom Wai-Hong Tam <waihong@chromium.org> | Fri Sep 28 15:11:14 2012 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Wed Nov 07 00:57:22 2012 +0100 |
tree | 0f7b1409237a4cfdd473ef62a658f2810ba5b69c | |
parent | 395166cffbb427bfb0da051ac044118a592e5c0b [diff] |
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>