2009-12-10 21:35:56 +01:00
|
|
|
$NetBSD: patch-ap,v 1.3 2009/12/10 20:35:56 abs Exp $
|
2001-12-20 10:19:53 +01:00
|
|
|
|
2009-12-10 21:35:56 +01:00
|
|
|
--- lib/libxview/rect/rect_util.c.orig 1993-06-29 05:15:17.000000000 +0000
|
|
|
|
+++ lib/libxview/rect/rect_util.c
|
|
|
|
@@ -16,6 +16,8 @@ static char sccsid[] = "@(#)rect_uti
|
2000-06-16 16:16:49 +02:00
|
|
|
|
2001-12-20 10:19:53 +01:00
|
|
|
#include <xview/rect.h>
|
2000-06-16 16:16:49 +02:00
|
|
|
|
2001-12-20 10:19:53 +01:00
|
|
|
+static int rect_nearest_edge();
|
|
|
|
+
|
|
|
|
/*
|
|
|
|
* Compute the distance from rect to (x, y). If (x, y) is in rect, zero is
|
|
|
|
* returned. If x_used or y_used are non-zero, the projection point is
|