summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/en/samples.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/en/samples.html b/html/en/samples.html
index 2b8d902..f5fad96 100644
--- a/html/en/samples.html
+++ b/html/en/samples.html
@@ -149,7 +149,7 @@ canvas:Clear()
canvas:Font("Times", cd.BOLD, 24)
canvas:Text(100, 100, "Test")
canvas:Line(0,0,100,100)
-canvas:KillCanvas(canvas)
+canvas:Kill()
image:Save(&quot;new.bmp&quot;, &quot;BMP&quot;) </pre>