Author: cwittich
Date: Mon Mar 9 19:05:58 2015
New Revision: 66624
URL:
http://svn.reactos.org/svn/reactos?rev=66624&view=rev
Log:
[GDI32]
fix gdi32 clipping winetest
Modified:
trunk/reactos/win32ss/gdi/gdi32/objects/region.c
Modified: trunk/reactos/win32ss/gdi/gdi32/objects/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
==============================================================================
--- trunk/reactos/win32ss/gdi/gdi32/objects/region.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/gdi32/objects/region.c [iso-8859-1] Mon Mar 9 19:05:58
2015
@@ -837,7 +837,7 @@
{
/* Last error code differs from what NtGdiGetRandomRgn returns */
SetLastError(ERROR_INVALID_PARAMETER);
- return 0;
+ return -1;
}
Ret = NtGdiGetRandomRgn(hdc, hrgn, CLIPRGN);