aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Types.h2
-rw-r--r--win/WinPort.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/Types.h b/generic/Types.h
index 65dd82e..a7dd5a5 100644
--- a/generic/Types.h
+++ b/generic/Types.h
@@ -163,7 +163,7 @@ EXTERN void XDrawLine(Display* display, Drawable d, GC gc,
EXTERN void XDrawLines(Display* display, Drawable d, GC gc,
XPoint* points, int npoints, int mode);
-EXTERN void ZnPointInRegion(TkRegion reg, int x, int y);
+EXTERN ZnBool ZnPointInRegion(TkRegion reg, int x, int y);
EXTERN void ZnUnionRegion(TkRegion sra, TkRegion srb,
TkRegion dr_return);
EXTERN void ZnOffsetRegion(TkRegion reg, int dx, int dy);
diff --git a/win/WinPort.c b/win/WinPort.c
index 569b0ad..e530ad3 100644
--- a/win/WinPort.c
+++ b/win/WinPort.c
@@ -51,12 +51,12 @@ static const char compile_id[]="$Compile$";
*
*----------------------------------------------------------------------
*/
-int
+ZnBool
ZnPointInRegion(TkRegion reg,
int x,
int y)
{
- return PtInRegion((HRGN) reg, x, y);
+ return (ZnBool) PtInRegion((HRGN) reg, x, y);
}
/*