diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-09-08 12:52:48 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-09-08 12:52:48 +0200 |
commit | 0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1 (patch) | |
tree | 08ea87aa64823455c03985be12b4ebd2224a82be | |
parent | da8a6a90c33f8bf8f2cad9ff009d813b8b7fbaab (diff) | |
download | rockbox-0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1.tar.gz rockbox-0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1.zip |
bmp2rb: Data was written with an incorrect offset.
Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
-rw-r--r-- | tools/bmp2rb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bmp2rb.c b/tools/bmp2rb.c index 3bcdef906c..2a7dcdee92 100644 --- a/tools/bmp2rb.c +++ b/tools/bmp2rb.c | |||
@@ -602,7 +602,7 @@ void generate_raw_file(const union RAWDATA *t_bitmap, | |||
602 | } | 602 | } |
603 | else /* 24 */ | 603 | else /* 24 */ |
604 | { | 604 | { |
605 | fwrite(&t_bitmap->d24[i * t_width + a].b, 3, 1, f); | 605 | fwrite(&t_bitmap->d24[i * t_width + a], 3, 1, f); |
606 | } | 606 | } |
607 | } | 607 | } |
608 | } | 608 | } |