mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
fix formatting
svn path=/trunk/; revision=39176
This commit is contained in:
parent
13b4ba7cc6
commit
0d38c9174f
1 changed files with 16 additions and 16 deletions
|
@ -1132,23 +1132,23 @@ IntCreateDIBitmap(PDC Dc,
|
||||||
// If the second color is white, create a monochrome bitmap
|
// If the second color is white, create a monochrome bitmap
|
||||||
fColor = (col != RGB(0xff,0xff,0xff));
|
fColor = (col != RGB(0xff,0xff,0xff));
|
||||||
}
|
}
|
||||||
else fColor = TRUE;
|
else fColor = TRUE;
|
||||||
}
|
|
||||||
else if (data->bmiHeader.biSize == sizeof(BITMAPCOREHEADER))
|
|
||||||
{
|
|
||||||
RGBTRIPLE *rgb = ((BITMAPCOREINFO *)data)->bmciColors;
|
|
||||||
DWORD col = RGB( rgb->rgbtRed, rgb->rgbtGreen, rgb->rgbtBlue);
|
|
||||||
|
|
||||||
if ((col == RGB(0,0,0)))
|
|
||||||
{
|
|
||||||
rgb++;
|
|
||||||
col = RGB( rgb->rgbtRed, rgb->rgbtGreen, rgb->rgbtBlue );
|
|
||||||
fColor = (col != RGB(0xff,0xff,0xff));
|
|
||||||
}
|
}
|
||||||
else fColor = TRUE;
|
else if (data->bmiHeader.biSize == sizeof(BITMAPCOREHEADER))
|
||||||
}
|
{
|
||||||
else
|
RGBTRIPLE *rgb = ((BITMAPCOREINFO *)data)->bmciColors;
|
||||||
{
|
DWORD col = RGB( rgb->rgbtRed, rgb->rgbtGreen, rgb->rgbtBlue);
|
||||||
|
|
||||||
|
if ((col == RGB(0,0,0)))
|
||||||
|
{
|
||||||
|
rgb++;
|
||||||
|
col = RGB( rgb->rgbtRed, rgb->rgbtGreen, rgb->rgbtBlue );
|
||||||
|
fColor = (col != RGB(0xff,0xff,0xff));
|
||||||
|
}
|
||||||
|
else fColor = TRUE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
DPRINT("(%ld): wrong size for data\n", data->bmiHeader.biSize );
|
DPRINT("(%ld): wrong size for data\n", data->bmiHeader.biSize );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue