[PATCH] const variables are not compile-time constants
Mikko Rasa
tdb at tdb.fi
Sun Jul 25 15:36:13 CDT 2010
---
dlls/user32/painting.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c
index 5e57e7f..c6ed1be 100644
--- a/dlls/user32/painting.c
+++ b/dlls/user32/painting.c
@@ -910,7 +910,8 @@ 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; /* flags that can be set by user */
struct dce *dce;
BOOL bUpdateVisRgn = TRUE;
HWND parent;
--
1.7.1
More information about the wine-patches
mailing list