From: ceriel Date: Fri, 24 Jun 1988 12:03:02 +0000 (+0000) Subject: modified distance function somewhat X-Git-Tag: release-5-5~3157 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d3723b3d38a39f8a5db9eea926575363df32d9b8;p=ack.git modified distance function somewhat --- 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; {