From d3723b3d38a39f8a5db9eea926575363df32d9b8 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 24 Jun 1988 12:03:02 +0000 Subject: [PATCH] modified distance function somewhat --- mach/proto/ncg/subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/ncg/subr.c b/mach/proto/ncg/subr.c index addea1ff3..b69711103 100644 --- a/mach/proto/ncg/subr.c +++ b/mach/proto/ncg/subr.c @@ -332,7 +332,7 @@ distance(cindex) { return(0); return(10-exact); } - return(20-exact+fromstackneeded); + return(20-2*exact+fromstackneeded); } unsigned costcalc(cost) cost_t cost; { -- 2.34.1