diff options
author | Tom Rini <trini@ti.com> | 2013-08-12 18:06:30 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-12 18:06:30 -0400 |
commit | c15438eaea8b854d89455ebf7a1c7c4f06fa92f5 (patch) | |
tree | 1b9f2cddd85c061fb0377681d1fee0a2904d738d /tools | |
parent | d62a89bd5b5033649a90fa5bfe0f5b32013ca8f8 (diff) | |
parent | 1dc793dd2b8fb97dddf437547d86bd5bcfdb8b29 (diff) | |
download | u-boot-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.zip u-boot-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.tar.gz u-boot-c15438eaea8b854d89455ebf7a1c7c4f06fa92f5.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-video
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bmp_logo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bmp_logo.c b/tools/bmp_logo.c index b2ad3d5..2247adc 100644 --- a/tools/bmp_logo.c +++ b/tools/bmp_logo.c @@ -179,7 +179,7 @@ int main (int argc, char *argv[]) printf("unsigned char bmp_logo_bitmap[] = {\n"); for (i=(b->height-1)*b->width; i>=0; i-=b->width) { for (x = 0; x < b->width; x++) { - b->data[(uint16_t) i + x] = (uint8_t) fgetc (fp) \ + b->data[i + x] = (uint8_t) fgetc(fp) + DEFAULT_CMAP_SIZE; } } |