Fix a nasty copypasta bug: When the DC brush was selected into a DC, it was painted with the pen color instead of the brush color. Should fix Snappy Driver installer and potentially a lot of other graphical issues.
CORE-9424 #resolve

svn path=/trunk/; revision=69774
This commit is contained in:
Timo Kreuzer 2015-11-01 13:46:25 +00:00
parent 6a1044e4bc
commit 1bd7d0867f

View file

@ -49,9 +49,8 @@ DC_vUpdateFillBrush(PDC pdc)
/* Check for DC brush */
if (pdcattr->hbrush == StockObjects[DC_BRUSH])
{
/* ROS HACK, should use surf xlate */
/* Update the eboFill's solid color */
EBRUSHOBJ_vSetSolidRGBColor(&pdc->eboFill, pdcattr->crPenClr);
EBRUSHOBJ_vSetSolidRGBColor(&pdc->eboFill, pdcattr->crBrushClr);
}
/* Clear flags */