]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/lcd.c
upgrade to upstream version 2013.07
[karo-tx-uboot.git] / common / lcd.c
index 8ba13160c44b4a35f728b9b49c79c0b319af98e3..0a8835e83cab3068cc7b0a453c741b723695be41 100644 (file)
@@ -1074,6 +1074,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y)
                                fb[2] = *bmap++; /* R */
                                fb += 4;
                        }
+                       bmap += (padded_width - width) * 4;
                        fb -= lcd_line_length + width * (bpix / 8);
                }
                break;