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:
Thomas Dinges 2012-08-31 19:57:03 +00:00
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;