summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}
}