summaryrefslogtreecommitdiff
path: root/geography/vis5d+/patches/patch-ac
blob: 86f8a707b48bf885a7890d92fa96a8313211835a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2004/09/08 16:10:08 wiz Exp $

--- src/work.c.orig	2001-11-07 12:53:30.000000000 +0100
+++ src/work.c
@@ -6791,7 +6791,7 @@ void set_hslice_pos(Context ctx, int var
 		  request->HighLimit = floor(request->HighLimit*factor)/(float) factor;
 		}
 	 }
-	 request->Interval = round((request->HighLimit - request->LowLimit)/5.0);
+	 request->Interval = roundnice((request->HighLimit - request->LowLimit)/5.0);
 	 
   }
 }