Skip to content

Commit 5345475

Browse files
committed
chore: indent
1 parent bbeb664 commit 5345475

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

bitmap.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
; // suppress #pragma warning
66
#pragma pack(push, 1)
77
typedef struct {
8-
uint16_t type; // Magic identifier 0x4D42
9-
uint32_t size; // File size in bytes
10-
uint16_t reserved1; // not in use
11-
uint16_t reserved2; // not in use
12-
uint32_t offset; // Offset to image data in bytes from beginning of file
13-
uint32_t dibheadersize; // DIB Header size in bytes
14-
int32_t width; // Width of the image
15-
int32_t height; // Height of the image
16-
uint16_t planes; // Number of color planes
17-
uint16_t bits; // Bits per pixel
18-
uint32_t compression; // Compression type
19-
uint32_t imagesize; // Image size in bytes
20-
int32_t xres; // Pixels per meter
21-
int32_t yres; // Pixels per meter
22-
uint32_t ncolors; // Number of colors
23-
uint32_t importantcolors; // Important colors
8+
uint16_t type; // Magic identifier 0x4D42
9+
uint32_t size; // File size in bytes
10+
uint16_t reserved1; // not in use
11+
uint16_t reserved2; // not in use
12+
uint32_t offset; // Offset to image data in bytes from beginning of file
13+
uint32_t dibheadersize; // DIB Header size in bytes
14+
int32_t width; // Width of the image
15+
int32_t height; // Height of the image
16+
uint16_t planes; // Number of color planes
17+
uint16_t bits; // Bits per pixel
18+
uint32_t compression; // Compression type
19+
uint32_t imagesize; // Image size in bytes
20+
int32_t xres; // Pixels per meter
21+
int32_t yres; // Pixels per meter
22+
uint32_t ncolors; // Number of colors
23+
uint32_t importantcolors; // Important colors
2424
} BMPHeader;
2525

2626
typedef struct {

0 commit comments

Comments
 (0)