summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2019-02-03 09:07:22 +0100
committerMatthias Melcher <git@matthiasm.com>2019-02-03 09:07:22 +0100
commita7e91e0199a11401c356115ea651daf13c436f29 (patch)
treee576eff1c52627a67d625e8d959c91d844841835
parent6d021274d7de355ea0c42789d4366f3f3f5bd8e5 (diff)
Docs
-rw-r--r--src/fl_curve.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_curve.cxx b/src/fl_curve.cxx
index 86d9c651a..a7ec61a8a 100644
--- a/src/fl_curve.cxx
+++ b/src/fl_curve.cxx
@@ -84,7 +84,7 @@ void Fl_Graphics_Driver::curve(double X0, double Y0,
double dy3 = 6*ya*e*e*e;
double dy2 = dy3 + 2*yb*e*e;
- // draw points 1 .. n-2:
+ // draw points 1 .. nSeg-2:
for (int i=2; i<nSeg; i++) {
x += dx1;
dx1 += dx2;
@@ -99,7 +99,7 @@ void Fl_Graphics_Driver::curve(double X0, double Y0,
fl_transformed_vertex(x+dx1, y+dy1);
}
- // draw point n:
+ // draw point nSeg:
fl_transformed_vertex(x3,y3);
}