Author: gschneider Date: Sat Apr 18 15:07:58 2009 New Revision: 40569
URL: http://svn.reactos.org/svn/reactos?rev=40569&view=rev Log: Order rectangle points to avoid CreateCompatibleBitmap failure because of negative size values
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/painting.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] Sat Apr 18 15:07:58 2009 @@ -1630,6 +1630,7 @@ if (pWnd) Wnd = pWnd->Wnd;
+ RECTL_vMakeWellOrdered(lpRc); hMemBmp = NtGdiCreateCompatibleBitmap(hDc, lpRc->right - lpRc->left, lpRc->bottom - lpRc->top);