pkgsrc/geography/vis5d+/patches/patch-ac
2004-09-08 16:10:08 +00:00

13 lines
442 B
Text

$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);
}
}