From d676ac91b1906f5de8695facb6b96bf0509e6e1f Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Fri, 10 Apr 2026 22:16:44 +0300 Subject: Clean up trailing whitespaces --- bmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bmp.c') 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; -- cgit v1.2.3