summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 1f500fc..3872331 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -1537,7 +1537,7 @@ func ExampleFpdf_tutorial32() {
x, y := cx+r*math.Cos(dir*a), cy+r*math.Sin(dir*a)
pdf.LineTo(x, y)
pdf.Text(x, y, strconv.Itoa(i))
- i += 1
+ i++
}
pdf.ClosePath()
}