summaryrefslogtreecommitdiffstats
path: root/library/demos/square
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/square')
-rw-r--r--library/demos/square2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/square b/library/demos/square
index 1d7eb20..6ce91b8 100644
--- a/library/demos/square
+++ b/library/demos/square
@@ -27,7 +27,7 @@ focus .s
proc center {x y} {
set a [.s size]
- .s position [expr $x-($a/2)] [expr $y-($a/2)]
+ .s position [expr {$x-($a/2)}] [expr {$y-($a/2)}]
}
# The procedures below provide a simple form of animation where