[Wine] Re: Wine 1.2-GIT: Compiler error in user32/painting.c
Quix0r
wineforum-user at winehq.org
Mon Jul 26 13:11:06 CDT 2010
Here is my patch to get it compiling even with -O0 (and what does have optimization to do with errors?):
Code:
diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c
index 5e57e7f..320a920 100644
--- a/dlls/user32/painting.c
+++ b/dlls/user32/painting.c
@@ -910,7 +910,7 @@ BOOL WINAPI EndPaint( HWND hwnd, const PAINTSTRUCT *lps )
HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags )
{
static const DWORD clip_flags = DCX_PARENTCLIP | DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | DCX_WINDOW;
- static const DWORD user_flags = clip_flags | DCX_NORESETATTRS; /* flags that can be set by user */
+ static const DWORD user_flags = DCX_PARENTCLIP | DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | DCX_WINDOW | DCX_NORESETATTRS; /* f
struct dce *dce;
BOOL bUpdateVisRgn = TRUE;
HWND parent;
More information about the wine-users
mailing list