aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorlecoanet2003-10-08 08:08:36 +0000
committerlecoanet2003-10-08 08:08:36 +0000
commita2fc7b287de1b1eeaa1a2fba141b7e348819b68d (patch)
treeaa5f73bbe01f0b80c70ee5f40e8c8a3796d24f6a /win
parent5e9e9c24c6d1b7dfcf41be8661f36e95bb3e3f86 (diff)
downloadtkzinc-a2fc7b287de1b1eeaa1a2fba141b7e348819b68d.zip
tkzinc-a2fc7b287de1b1eeaa1a2fba141b7e348819b68d.tar.gz
tkzinc-a2fc7b287de1b1eeaa1a2fba141b7e348819b68d.tar.bz2
tkzinc-a2fc7b287de1b1eeaa1a2fba141b7e348819b68d.tar.xz
Fixed the return type of the ZnPointInRegion prototype to return
a ZnBool
Diffstat (limited to 'win')
-rw-r--r--win/WinPort.c4
1 files changed, 2 insertions, 2 deletions
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);
}
/*