- revert r46970, it does not work after all...
  - add missing trailing character in debug print

svn path=/branches/reactos-yarotows/; revision=46974
This commit is contained in:
Jérôme Gardou 2010-04-21 09:24:15 +00:00
parent 11483181a8
commit bb632b9d29
2 changed files with 6 additions and 1 deletions

View file

@ -222,7 +222,7 @@ NtGdiBitBlt(
} }
else if(DCSrc) else if(DCSrc)
{ {
DPRINT1("Getting a valid Source handle without using source!!!"); DPRINT1("Getting a valid Source handle without using source!!!\n");
GDIOBJ_UnlockObjByPtr(&DCSrc->BaseObject); GDIOBJ_UnlockObjByPtr(&DCSrc->BaseObject);
DCSrc = NULL ; DCSrc = NULL ;
} }

View file

@ -110,6 +110,11 @@ DC_vUpdateTextBrush(PDC pdc)
{ {
PDC_ATTR pdcattr = pdc->pdcattr; PDC_ATTR pdcattr = pdc->pdcattr;
/* Timo : The text brush should never be changed.
* Jérôme : Yeah, but its palette must be updated anyway! */
if(pdcattr->ulDirty_ & DIRTY_TEXT)
EBRUSHOBJ_vUpdate(&pdc->eboText, pbrDefaultBrush, pdc);
/* Update the eboText's solid color */ /* Update the eboText's solid color */
EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboText, pdcattr->crForegroundClr); EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboText, pdcattr->crForegroundClr);