bmp2rb: Data was written with an incorrect offset.
Change-Id: I460872f05f80e28be312de5c93d54c7c6e36fbd7
This commit is contained in:
parent
da8a6a90c3
commit
0e8fa703bb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue