Description
In win32ss/gdi/ntgdi/dclife.c. From context author might have meant to write DC_TYPE_MEMORY
CID 1419143 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)identical_branches: Ternary expression on condition Driver has identical then and else expressions: 0. Should one of the expressions be modified, or the entire ternary expression replaced?
IntGdiCreateDC()
{
HDC hdc;
hdc = GreOpenDCW(pustrDevice,
pdmInit,
NULL,
CreateAsIC ? DCTYPE_INFO :
(Driver ? DC_TYPE_DIRECT : DC_TYPE_DIRECT), <---- ISSUE HERE
TRUE,
NULL,
NULL,
pUMdhpdev);
}