Author: hbelusca
Date: Sun Nov 1 16:40:18 2015
New Revision: 69778
URL: http://svn.reactos.org/svn/reactos?rev=69778&view=rev
Log:
[CLIPBRD]: Comment out the #pragma once in the precompiled header, because it makes build fail on some GCC setup for some people. I don't understand why this problem happens...
Modified:
trunk/reactos/base/applications/clipbrd/precomp.h
Modified: trunk/reactos/base/applications/clipbrd/precomp.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/clipbrd/…
==============================================================================
--- trunk/reactos/base/applications/clipbrd/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/clipbrd/precomp.h [iso-8859-1] Sun Nov 1 16:40:18 2015
@@ -1,7 +1,7 @@
#ifndef _CLIPBRD_PCH_
#define _CLIPBRD_PCH_
-#pragma once
+// #pragma once
#include <windef.h>
#include <winbase.h>
Author: tkreuzer
Date: Sun Nov 1 13:46:25 2015
New Revision: 69774
URL: http://svn.reactos.org/svn/reactos?rev=69774&view=rev
Log:
[WIN32K]
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
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dcobjs.c [iso-8859-1] Sun Nov 1 13:46:25 2015
@@ -49,9 +49,8 @@
/* 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 */