bmp2rb: Data was written with an incorrect offset.

Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
This commit is contained in:
Thomas Martitz 2013-09-08 12:52:48 +02:00
parent da8a6a90c3
commit 0e8fa703bb

View file

@ -602,7 +602,7 @@ void generate_raw_file(const union RAWDATA *t_bitmap,
} }
else /* 24 */ 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);
} }
} }
} }