move declaration of IntGdiExtSelectClipRgn to a win32k header
authorChristoph von Wittich <christoph_vw@reactos.org>
Fri, 9 Dec 2005 18:42:27 +0000 (18:42 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Fri, 9 Dec 2005 18:42:27 +0000 (18:42 +0000)
fix compile problem with path.c

svn path=/trunk/; revision=20014

reactos/include/win32k/cliprgn.h
reactos/subsys/win32k/include/intgdi.h
reactos/subsys/win32k/objects/path.c

index e0bbe78..6a0107e 100644 (file)
@@ -4,14 +4,6 @@
 HRGN WINAPI SaveVisRgn(HDC hdc);
 INT WINAPI SelectVisRgn(HDC hdc, HRGN hrgn);
 
-int
-STDCALL
-IntGdiExtSelectClipRgn (
-        PDC     dc,
-        HRGN    hrgn, 
-        int     fnMode
-        );
-
 int
 STDCALL
 NtGdiExcludeClipRect (
index 7d8a7b7..23adf58 100644 (file)
@@ -9,7 +9,6 @@ IntGdiCreateBrushXlate(PDC Dc, GDIBRUSHOBJ *BrushObj, BOOLEAN *Failed);
 VOID FASTCALL
 IntGdiInitBrushInstance(GDIBRUSHINST *BrushInst, PGDIBRUSHOBJ BrushObj, XLATEOBJ *XlateObj);
 
-
 HBRUSH STDCALL
 IntGdiCreateDIBBrush(
    CONST BITMAPINFO *BitmapInfo,
@@ -198,6 +197,8 @@ IntGetSysColors(COLORREF *Colors, UINT nColors);
 INT FASTCALL
 IntGdiGetDeviceCaps(PDC dc, INT Index);
 
+int STDCALL IntGdiExtSelectClipRgn (PDC dc, HRGN hrgn, int fnMode);
+
 INT
 FASTCALL
 IntGdiEscape(PDC    dc,
index 472b007..748cd9d 100644 (file)
@@ -249,8 +249,10 @@ BOOL STDCALL NtGdiSelectClipPath(HDC  hDC,
 
  /* Check that path is closed */
  if( pPath->state != PATH_Closed )
+ {
    SetLastWin32Error(ERROR_CAN_NOT_COMPLETE);
    return FALSE;
+ }
  /* Construct a region from the path */
  else if( PATH_PathToRegion( pPath, dc->w.polyFillMode, &hrgnPath ) )
  {