Skip to content

Commit f64ec61

Browse files
committed
Update BitmapInfoHeader.h
1 parent 248e08b commit f64ec61

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

β€ŽFractal Images/BitmapInfoHeader.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ struct BitmapInfoHeader {
1111
int32_t headerSize{ 40 };
1212
int32_t width;
1313
int32_t height;
14-
int32_t planes{ 1 };
15-
int32_t bitsPerPixel{ 24 };
14+
int16_t planes{ 1 };
15+
int16_t bitsPerPixel{ 24 };
1616
int32_t compression{ 0 };
1717
int32_t dataSize{ 0 };
1818
int32_t horizontalResolution{ 2400 };
@@ -21,6 +21,4 @@ struct BitmapInfoHeader {
2121
int32_t importantColors{ 0 };
2222
};
2323

24-
25-
2624
#endif /* BITMAPINFOHEADER_H_ */

0 commit comments

Comments
 (0)