summaryrefslogtreecommitdiff
path: root/graphics/ploticus/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ploticus/patches/patch-ac')
-rw-r--r--graphics/ploticus/patches/patch-ac19
1 files changed, 0 insertions, 19 deletions
diff --git a/graphics/ploticus/patches/patch-ac b/graphics/ploticus/patches/patch-ac
deleted file mode 100644
index 140352edc69..00000000000
--- a/graphics/ploticus/patches/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/07/08 08:09:40 rh Exp $
-
---- units.c.orig Sun Jul 8 09:52:03 2001
-+++ units.c
-@@ -275,8 +275,14 @@
- else i = 1;
-
- if( unittyp[i] == LINEAR ) {
-+ /* when generating incremental axes moving from negative to positive, for zero sprintf sometimes
-+ gives -0.00 or very tiny values like -5.5579e-17. The following is a workaround.. scg 7/5/01 */
-+ if( f < 0.0000000000001 && f > -0.0000000000001 ) f = 0.0;
-+
- if( strlen( format ) < 1 ) sprintf( result, "%g", f );
- else sprintf( result, format, f );
-+
-+
- if( Bignumspacer ) rewritenums( result ); /* rewrite w/various spacing, decimal pt options*/
- }
-