aboutsummaryrefslogtreecommitdiff
path: root/bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bmp.c')
-rw-r--r--bmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bmp.c b/bmp.c
index 14a8d61..3abac0d 100644
--- a/bmp.c
+++ b/bmp.c
@@ -13,7 +13,7 @@ void map_to_bmp(Map map, size_t map_width, size_t map_height, Position start, Po
/* Dimensions of the resulting image */
int32_t width = map_width;
int32_t height = map_height;
- uint16_t bitcount = 24;
+ uint16_t bitcount = 24;
/* Width of a single row in bytes */
int width_in_bytes = ((width * bitcount + 31) / 32) * 4;
@@ -25,7 +25,7 @@ void map_to_bmp(Map map, size_t map_width, size_t map_height, Position start, Po
const uint32_t biSize = 40;
/* Bitmap bit offset */
- const uint32_t bfOffBits = 54;
+ const uint32_t bfOffBits = 54;
/* Size in bytes of resulting BMP */
uint32_t filesize = 54 + imagesize;