summaryrefslogtreecommitdiffstats
path: root/tools/bmp2rb.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-09-08 12:52:48 +0200
committerThomas Martitz <kugel@rockbox.org>2013-09-08 12:52:48 +0200
commit0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1 (patch)
tree08ea87aa64823455c03985be12b4ebd2224a82be /tools/bmp2rb.c
parentda8a6a90c33f8bf8f2cad9ff009d813b8b7fbaab (diff)
downloadrockbox-0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1.tar.gz
rockbox-0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1.tar.bz2
rockbox-0e8fa703bb0e842ef4c6f72040bc4bb4a275bda1.zip
bmp2rb: Data was written with an incorrect offset.
Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
Diffstat (limited to 'tools/bmp2rb.c')
-rw-r--r--tools/bmp2rb.c2
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,
}
else /* 24 */
{
- fwrite(&t_bitmap->d24[i * t_width + a].b, 3, 1, f);
+ fwrite(&t_bitmap->d24[i * t_width + a], 3, 1, f);
}
}
}