forked from bartvdbraak/blender
Possible fix for [#32462] blender cannot load bmp files (Windows OS).
* Typo in the CHECK_HEADER_FIELD macro. Patch by kjym3 in IRC, thanks!
This commit is contained in:
parent
2694b68d4a
commit
99abcb8e45
@ -69,7 +69,7 @@ typedef struct BMPHEADER {
|
||||
|
||||
static int checkbmp(unsigned char *mem)
|
||||
{
|
||||
#define CHECK_HEADER_FIELD(mem, field) ((mem[0] == field[0]) && (mem[1] == field[0]))
|
||||
#define CHECK_HEADER_FIELD(mem, field) ((mem[0] == field[0]) && (mem[1] == field[1]))
|
||||
|
||||
int ret_val = 0;
|
||||
BMPINFOHEADER bmi;
|
||||
|
Loading…
Reference in New Issue
Block a user