mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Don't try to be smarter than Windows and don't copy background/foreground color from the original DC. Spotted and confirmed by Evgeniy Boltik. As a result issues in bug 4143 are fixed, as well as other possible problems.
See issue #4143 for more details. svn path=/trunk/; revision=40106
This commit is contained in:
parent
c8eaa18003
commit
d94693c32a
1 changed files with 0 additions and 4 deletions
|
@ -132,11 +132,7 @@ NtGdiCreateCompatibleDC(HDC hDC)
|
|||
NewDC->DcLevel.hpal = OrigDC->DcLevel.hpal;
|
||||
|
||||
nDc_Attr->lTextAlign = oDc_Attr->lTextAlign;
|
||||
nDc_Attr->ulForegroundClr = oDc_Attr->ulForegroundClr;
|
||||
nDc_Attr->ulBackgroundClr = oDc_Attr->ulBackgroundClr;
|
||||
nDc_Attr->lBkMode = oDc_Attr->lBkMode;
|
||||
nDc_Attr->crForegroundClr = oDc_Attr->crForegroundClr;
|
||||
nDc_Attr->crBackgroundClr = oDc_Attr->crBackgroundClr;
|
||||
nDc_Attr->jBkMode = oDc_Attr->jBkMode;
|
||||
nDc_Attr->jROP2 = oDc_Attr->jROP2;
|
||||
nDc_Attr->dwLayout = oDc_Attr->dwLayout;
|
||||
|
|
Loading…
Reference in a new issue