diff options
Diffstat (limited to 'converter/other/pamtosvg/fit.c')
-rw-r--r-- | converter/other/pamtosvg/fit.c | 1 |
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 |