about summary refs log tree commit diff
path: root/converter/other/pamtosvg
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-28 01:43:45 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-04-28 01:43:45 +0000
commitdbdc0476c3ed226ccba2750b09e25887ba12b2bb (patch)
treeb80cbcdbd9c08008b5b84125180f8a3e9c8a190e /converter/other/pamtosvg
parent7258bf2ba30955d20dc0ba361df7c2de43704f5a (diff)
downloadnetpbm-mirror-dbdc0476c3ed226ccba2750b09e25887ba12b2bb.tar.gz
netpbm-mirror-dbdc0476c3ed226ccba2750b09e25887ba12b2bb.tar.xz
netpbm-mirror-dbdc0476c3ed226ccba2750b09e25887ba12b2bb.zip
Release 10.35.63
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@902 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtosvg')
-rw-r--r--converter/other/pamtosvg/fit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/other/pamtosvg/fit.c b/converter/other/pamtosvg/fit.c
index 08db41db..6bc2fe88 100644
--- a/converter/other/pamtosvg/fit.c
+++ b/converter/other/pamtosvg/fit.c
@@ -1852,6 +1852,7 @@ find_error (curve_type curve, spline_type spline, unsigned *worst_point,
 
   if (*worst_point == CURVE_LENGTH (curve) + 1)
     { /* Didn't have any ``worst point''; the error should be zero.  */
+      *worst_point = 0;
       if (epsilon_equal (total_error, 0.0))
         LOG ("  Every point fit perfectly.\n");
       else