summaryrefslogtreecommitdiff
path: root/src/fl_curve.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
commitb4995f979d127cea667b4e2b71c91e9db4ab52ef (patch)
treefbebc775e10932bace8d6a7c3481b1ba200c64db /src/fl_curve.cxx
parent9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff)
wip
Diffstat (limited to 'src/fl_curve.cxx')
-rw-r--r--src/fl_curve.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fl_curve.cxx b/src/fl_curve.cxx
index c3324f96e..497a321be 100644
--- a/src/fl_curve.cxx
+++ b/src/fl_curve.cxx
@@ -84,7 +84,8 @@ void Fl_Graphics_Driver::curve(double X0, double Y0,
double dy2 = dy3 + 2*yb*e*e;
// draw points 1 .. nSeg-2:
- for (int i=2; i<nSeg; i++) {
+ int i;
+ for (i =2; i<nSeg; i++) {
x += dx1;
dx1 += dx2;
dx2 += dx3;