commit | 93f04d6b9bacf049d6a766d1654f5c3693777768 | [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 | a7eaa2f1e174ff563ecdd41fc53b2f5995851c2e [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>